Animation
Last updated
Last updated
Property
Function
Type
Fill mode
Image fill mode
Actions editor:
Property > Animation > Fill mode
Code:
widget.content.fillMode
enum
Values:
Stretch
PreserveAspectFit
PreserveAspectCrop
Tile
TileVertically
TileHorizontally
Pad
Frame rate
Playback speed in frames per second
Actions editor:
Property > Animation > Frame rate
Code:
widget.content.frameRate
double
Autoplay
Start playback automatically
Actions editor:
Property > Animation > Autoplay
Code:
widget.content.autoplay
bool
Loop
Looping the playback
Actions editor:
Property > Animation > Loop
Code:
widget.content.loop
bool
Inverted
Reverse playback
Actions editor:
Property > Animation > Inverted
Code:
widget.content.inverted
bool
Images
List of the images
Actions editor:
Property > Animation > Images
Code:
widget.content.imagesList
string
Property
Function
Play
Actions editor:
Actions > Common > Play
Code:
widget.content.script.actionPlay()
Stop
Actions editor:
Actions > Common > Stop
Code:
widget.content.script.actionStop()
Frame up
Show next frame
Actions editor:
Actions > Common > Frame up
Code:
widget.content.script.actionFrameUp()
Frame down
Show prev frame
Actions editor:
Actions > Common > Frame down
Code:
widget.content.script.actionFrameDown()
Set frame rate
Actions editor:
Actions > Common > Set frame rate
Code:
widget.content.script.actionSetFrameRate(int fps)
Property
Function
Play
Event when playing started
Actions editor:
Event > Play
Code:
widget.content.script.eventPlay()
Stop
Event when playing stopped
Actions editor:
Event > Stop
Code:
widget.content.script.eventStop()
Frame up
Event when next frame is shown
Actions editor:
Event > Frame up
Code:
widget.content.script.eventFrameUp()
Frame down
Event when prev frame is shown
Actions editor:
Event > Frame down
Code:
widget.content.script.eventFrameDown()