Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.13

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

unpublished constants group AnimationRepeat
Usage Restrictions
not published
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

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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.