Timeline Class
Contents
[
Hide
]Summary: The time line options model.
Module: aspose.psd.fileformats.psd.layers.animation
Full Name: aspose.psd.fileformats.psd.layers.animation.Timeline
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
Timeline() | Initializes a new instance of the Timeline class |
Properties
Name | Type | Access | Description |
---|---|---|---|
active_frame_index | int | r | Gets the active frame index. |
af_st | int | r/w | Gets or sets the AFSt value. |
frames | Frame[] | r/w | Gets the list of frames. |
fs_id | int | r/w | Gets or sets the FsID value. |
loopes_count | ushort | r/w | Gets or sets the count of loops. |
Methods
Name | Description |
---|---|
save(file_path, options) | Saves the PsdImage’s and Timeline data to the specified file location in the specified format according to save options. |
save(output_stream, options) | Saves the PsdImage’s and Timeline data to the specified stream in the specified format according to save options. |
switch_active_frame(target_active_frame_index) | Switches the active frame to targeted. |
Constructor: Timeline()
Timeline()
Initializes a new instance of the Timeline class
Method: save(file_path, options)
save(file_path, 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 |
---|---|---|
file_path | string | The file path. |
options | ImageOptionsBase | The options. |
Method: save(output_stream, options)
save(output_stream, options)
Saves the PsdImage’s and Timeline data to the specified stream in the specified format according to save options.
Parameters:
Parameter | Type | Description |
---|---|---|
output_stream | _io.BufferedRandom | The output stream. |
options | ImageOptionsBase | The options. |
Method: switch_active_frame(target_active_frame_index)
switch_active_frame(target_active_frame_index)
Switches the active frame to targeted.
Parameters:
Parameter | Type | Description |
---|---|---|
target_active_frame_index | int | The target frame index. |