Animation.Properties

Wisej.Web.Animation Properties

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Defines the animation properties.

public class Properties

Constructors

Properties()

Creates a new instance of the animation properties.

Properties

Delay

Int32: Returns or sets the delay before the animation starts in milliseconds. (Default: 0)

Duration

Int32: Returns or sets the duration of the animation in milliseconds. (Default: 0)

0 = Default. The animation is executed within the duration defined in the animation definition.

Event

String: Returns or sets the animation trigger event. (Default: "")

Keep

Int32: Returns or sets the frame to keep when the animation ends. (Default: -1)

-1 = Keeps the default frame as configured in the animation definition.

Name

String: Returns or sets the name of the selected animation. (Default: "")

Repeat

Int32: Returns or sets the number of times to repeat the animation. (Default: 0)

-1 = Infinite. 0 = Default; the animation is repeated the number of times defined in the animation definition.

Reverse

Boolean: Returns or sets whether the animation should be executed in reverse order. (Default: False)

Timing

AnimationTiming: Returns or sets the speed curve of an animation. (Default: Default)

Methods

Run()

Runs the animation on the connected component immediately.

Last updated