Timeline

Inheritance: java.lang.Object

public final class Timeline

The time line options model.

Constructors

ConstructorDescription
Timeline()Initializes a new instance of the Timeline class.

Methods

MethodDescription
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:

ParameterTypeDescription
psdImagePsdImageThe psd image.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
frameIdintThe 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:

ParameterTypeDescription
outputStreamcom.aspose.ms.System.IO.StreamThe output stream.
optionsImageOptionsBaseThe 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:

ParameterTypeDescription
filePathjava.lang.StringThe file path.
optionsImageOptionsBaseThe options.

setAFSt(int value)

public void setAFSt(int value)

Gets or sets the AFSt value.

Parameters:

ParameterTypeDescription
valueint

setActiveFrameIndex_internalized(int value)

public void setActiveFrameIndex_internalized(int value)

Gets or sets the active frame index.

Parameters:

ParameterTypeDescription
valueint

setFrames(Frame[] value)

public void setFrames(Frame[] value)

Gets the list of frames.

Parameters:

ParameterTypeDescription
valueFrame[]

setFsID(int value)

public void setFsID(int value)

Gets or sets the FsID value.

Parameters:

ParameterTypeDescription
valueint

setLoopesCount(int value)

public void setLoopesCount(int value)

Gets or sets the count of loops.

Parameters:

ParameterTypeDescription
valueint

setPsdImage(PsdImage value)

public void setPsdImage(PsdImage value)

Gets ot sets the PsdImage (.getPsdImage/.setPsdImage(PsdImage)) of this Timeline.

Parameters:

ParameterTypeDescription
valuePsdImage

switchActiveFrame(int targetActiveFrameIndex)

public void switchActiveFrame(int targetActiveFrameIndex)

Switches the active frame to targeted.

Parameters:

ParameterTypeDescription
targetActiveFrameIndexintThe 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:

ParameterTypeDescription
frameIndexintThe frame index to update layer States.

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int