Package | com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses |
Class | public class Rotate |
Inheritance | Rotate TweenEffect Effect |
To use the Rotate effect with non-embedded text, you must set the treatAsBitmap
property to true
on the target component.
This class is part of the EffectLibrary sub-effect documentation. It is a dummy class used only to document the supported parameters for a given sub-effect node.
See also
Property | Defined by | ||
---|---|---|---|
angleFrom : Number
The starting angle of rotation of the target object, expressed in degrees.
| Rotate | ||
angleTo : Number
The ending angle of rotation of the target object, expressed in degrees.
| Rotate | ||
duration : Number
Duration of the effect in milliseconds.
| Effect | ||
easingFunction : Function
The easing function for the animation.
| TweenEffect | ||
originX : Number
The x-position of the center point of rotation.
| Rotate | ||
originY : Number
The y-position of the center point of rotation.
| Rotate | ||
repeatCount : Number
Number of times to repeat the effect.
| Effect | ||
repeatDelay : Number
Amount of time, in milliseconds, to wait before repeating the effect.
| Effect | ||
startDelay : Number
Amount of time, in milliseconds, to wait before starting the effect.
| Effect |
Method | Defined by | ||
---|---|---|---|
Rotate()
| Rotate |
angleFrom | property |
public var angleFrom:Number
The starting angle of rotation of the target object, expressed in degrees. Valid values range from 0 to 360.
The default value is 0
.
angleTo | property |
public var angleTo:Number
The ending angle of rotation of the target object, expressed in degrees. Values can be either positive or negative.
If the value of angleTo is less than the value of angleFrom, the target rotates in a counterclockwise direction. Otherwise, it rotates in clockwise direction. If you want the target to rotate multiple times, set this value to a large positive or small negative number.
The default value is 360
.
originX | property |
public var originX:Number
The x-position of the center point of rotation. The target rotates around this point. The valid values are between 0 and the width of the target.
The default value is 0
.
originY | property |
public var originY:Number
The y-position of the center point of rotation. The target rotates around this point. The valid values are between 0 and the height of the target.
The default value is 0
.
Rotate | () | constructor |
public function Rotate()