Package | org.axiis.layouts.utils |
Class | public class GeometryRepeater |
Inheritance | GeometryRepeater ![]() |
Property | Defined By | ||
---|---|---|---|
currentIteration : int [read-only]
The number of iterations that the GeometryRepeater has processed. | GeometryRepeater | ||
geometry : Geometry
The geometry that should be repeated. | GeometryRepeater | ||
iterationLoopComplete : Boolean [read-only]
A flag indicating that the GeometryRepeater has finished repeating
but the geometry's properties have not yet been restored to their
original values. | GeometryRepeater | ||
millisecondsPerFrame : Number = 50
Determines how many milliseconds repeater will iterate before waiting for the next frame;
| GeometryRepeater | ||
modifiers : Array
An array of PropertyModifiers that should be applied with each
iteration of the GeometryRepeater. | GeometryRepeater |
Method | Defined By | ||
---|---|---|---|
Constructor. | GeometryRepeater | ||
repeat(numIterations:int, preIterationCallback:Function = null, postIterationCallback:Function = null, completeCallback:Function = null):void
Begins the modifications process. | GeometryRepeater |
currentIteration | property |
currentIteration:int
[read-only] The number of iterations that the GeometryRepeater has processed. When the GeometryRepeater is not running, this value is -1.
This property can be used as the source for data binding.
public function get currentIteration():int
geometry | property |
public var geometry:Geometry
The geometry that should be repeated.
iterationLoopComplete | property |
iterationLoopComplete:Boolean
[read-only] A flag indicating that the GeometryRepeater has finished repeating but the geometry's properties have not yet been restored to their original values.
public function get iterationLoopComplete():Boolean
millisecondsPerFrame | property |
public var millisecondsPerFrame:Number = 50
Determines how many milliseconds repeater will iterate before waiting for the next frame;
modifiers | property |
public var modifiers:Array
An array of PropertyModifiers that should be applied with each iteration of the GeometryRepeater.
GeometryRepeater | () | Constructor |
public function GeometryRepeater()
Constructor.
repeat | () | method |
public function repeat(numIterations:int, preIterationCallback:Function = null, postIterationCallback:Function = null, completeCallback:Function = null):void
Begins the modifications process.
Repeatedly applies the PropertyModifiers the specified number of times. Optionally, you can set up callbacks that this method will call before the PropertyModifiers are applied, after they are applied, and when the final iteration completes.
Parameters
numIterations:int — The number of iterations that should be
executed by before the GeometryRepeater ends.
| |
preIterationCallback:Function (default = null ) — A function that will be called at the
beginning of every repeat iteration, before the PropertyModifiers are
applied.
| |
postIterationCallback:Function (default = null ) — A function that will be called on each
iteration after the PropertyModifiers have been applied and the
currentIteration has been incremented.
| |
completeCallback:Function (default = null ) — A function that will be called when
numIterations of this GeometryRepeater have been
executed.
|