Timeline
Inheritance: java.lang.Object
public final class Timeline
The time line options model.
Constructors
Constructor | Description |
---|---|
Timeline() | Initializes a new instance of the Timeline class. |
Methods
Method | Description |
---|---|
applyTo_internalized(PsdImage psdImage) | Apply current time line values to input PsdImage (.getPsdImage/.setPsdImage(PsdImage)). |
equals(Object arg0) | |
getAFSt() | Gets or sets the AFSt value. |
getActiveFrameIndex() | Gets or sets the active frame index. |
getClass() | |
getFrame(int frameId) | Gets frame by id. |
getFrames() | Gets the list of frames. |
getFramesList() | Gets the list of frames. |
getFsID() | Gets or sets the FsID value. |
getLoopesCount() | Gets or sets the count of loops. |
getPsdImage() | Gets ot sets the PsdImage (.getPsdImage/.setPsdImage(PsdImage)) of this Timeline. |
hashCode() | |
notify() | |
notifyAll() | |
save(System.IO.Stream outputStream, ImageOptionsBase options) | Saves the PsdImage’s and Timeline data to the specified stream in the specified format according to save options. |
save(String filePath, ImageOptionsBase options) | Saves the PsdImage’s and Timeline data to the specified file location in the specified format according to save options. |
setAFSt(int value) | Gets or sets the AFSt value. |
setActiveFrameIndex_internalized(int value) | Gets or sets the active frame index. |
setFrames(Frame[] value) | Gets the list of frames. |
setFsID(int value) | Gets or sets the FsID value. |
setLoopesCount(int value) | Gets or sets the count of loops. |
setPsdImage(PsdImage value) | Gets ot sets the PsdImage (.getPsdImage/.setPsdImage(PsdImage)) of this Timeline. |
switchActiveFrame(int targetActiveFrameIndex) | Switches the active frame to targeted. |
toString() | |
updateFrameFromPsdImage_internalized(int frameIndex) | Apply current time line values to input PsdImage (.getPsdImage/.setPsdImage(PsdImage)). |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
Timeline()
public Timeline()
Initializes a new instance of the Timeline class.
applyTo_internalized(PsdImage psdImage)
public void applyTo_internalized(PsdImage psdImage)
Apply current time line values to input PsdImage (.getPsdImage/.setPsdImage(PsdImage)).
Parameters:
Parameter | Type | Description |
---|---|---|
psdImage | PsdImage | The psd image. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getAFSt()
public int getAFSt()
Gets or sets the AFSt value.
Returns: int
getActiveFrameIndex()
public int getActiveFrameIndex()
Gets or sets the active frame index.
Returns: int
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getFrame(int frameId)
public Frame getFrame(int frameId)
Gets frame by id.
Parameters:
Parameter | Type | Description |
---|---|---|
frameId | int | The frame id. |
Returns: Frame - Returns the frame item or NULL if not exists.
getFrames()
public Frame[] getFrames()
Gets the list of frames.
Returns: com.aspose.psd.fileformats.psd.layers.animation.Frame[]
getFramesList()
public System.Collections.Generic.List<Frame> getFramesList()
Gets the list of frames.
Returns: com.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.animation.Frame>
getFsID()
public int getFsID()
Gets or sets the FsID value.
Returns: int
getLoopesCount()
public int getLoopesCount()
Gets or sets the count of loops.
Returns: int
getPsdImage()
public PsdImage getPsdImage()
Gets ot sets the PsdImage (.getPsdImage/.setPsdImage(PsdImage)) of this Timeline.
Returns: PsdImage
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
save(System.IO.Stream outputStream, ImageOptionsBase options)
public void save(System.IO.Stream outputStream, ImageOptionsBase options)
Saves the PsdImage’s and Timeline data to the specified stream in the specified format according to save options.
Parameters:
Parameter | Type | Description |
---|---|---|
outputStream | com.aspose.ms.System.IO.Stream | The output stream. |
options | ImageOptionsBase | The options. |
save(String filePath, ImageOptionsBase options)
public void save(String filePath, ImageOptionsBase options)
Saves the PsdImage’s and Timeline data to the specified file location in the specified format according to save options.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The file path. |
options | ImageOptionsBase | The options. |
setAFSt(int value)
public void setAFSt(int value)
Gets or sets the AFSt value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setActiveFrameIndex_internalized(int value)
public void setActiveFrameIndex_internalized(int value)
Gets or sets the active frame index.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setFrames(Frame[] value)
public void setFrames(Frame[] value)
Gets the list of frames.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Frame[] |
setFsID(int value)
public void setFsID(int value)
Gets or sets the FsID value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setLoopesCount(int value)
public void setLoopesCount(int value)
Gets or sets the count of loops.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setPsdImage(PsdImage value)
public void setPsdImage(PsdImage value)
Gets ot sets the PsdImage (.getPsdImage/.setPsdImage(PsdImage)) of this Timeline.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PsdImage |
switchActiveFrame(int targetActiveFrameIndex)
public void switchActiveFrame(int targetActiveFrameIndex)
Switches the active frame to targeted.
Parameters:
Parameter | Type | Description |
---|---|---|
targetActiveFrameIndex | int | The target frame index. |
toString()
public String toString()
Returns: java.lang.String
updateFrameFromPsdImage_internalized(int frameIndex)
public void updateFrameFromPsdImage_internalized(int frameIndex)
Apply current time line values to input PsdImage (.getPsdImage/.setPsdImage(PsdImage)).
Parameters:
Parameter | Type | Description |
---|---|---|
frameIndex | int | The frame index to update layer States. |
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |