:: com :: sun :: star :: rendering ::

unpublished constants group AnimationRepeat
Description
This are the possible repeat modes for animations.

These constants determine how the [0,1] parameter range of the animation is driven through, thus defining the possible repeat modes.

Since
OOo 2.0.0

Constants
ONE_SHOT The [0,1] parameter range is sweeped through exactly once.  
ONE_SHOT_PINGPONG The [0,1] parameter range is sweeped through exactly twice.  
PINGPONG The [0,1] parameter range is sweeped through infinitely.  
REPEAT The [0,1] parameter range is sweeped through infinitely.  
Constants' Details
ONE_SHOT
const byte ONE_SHOT =0;
Description
The [0,1] parameter range is sweeped through exactly once.

The [0,1] parameter range is sweeped through exactly once, starting with 0 and ending with 1.

ONE_SHOT_PINGPONG
const byte ONE_SHOT_PINGPONG =1;
Description
The [0,1] parameter range is sweeped through exactly twice.

The [0,1] parameter range is sweeped through exactly twice, starting with 0, going to 1, and going back to 0. When plotting the value over time, this yields a triangle curve.

PINGPONG
const byte PINGPONG =2;
Description
The [0,1] parameter range is sweeped through infinitely.

The [0,1] parameter range is sweeped through infinitely, starting with 0, going to 1, and going back to 0, and then starting again. When plotting the value over time, this yields a repeated triangle curve.

REPEAT
const byte REPEAT =3;
Description
The [0,1] parameter range is sweeped through infinitely.

The [0,1] parameter range is sweeped through infinitely, starting with 0, going to 1, and starting with 0 again. When plotting the value over time, this yields a repeated saw-tooth curve.

Top of Page