Skip to content

Instance Variables

alphaRatio

Type

Float

heightScale

Type

Float

movingRatio

Type

Float

points

Type

Array<TPoint>

useAnchoredReveal

Type

Bool

description

When in anchored reveal mode, the ribbon is incrementally revealed based on the number of segments. The reveal starts from the initial position, and continues as the position is updated. Once the entire ribbon is visible, the entire trail moves along with the updated positions.

Instance Functions

getPalette():Map<Int,Int>

setPalette(value:Map<Int,Int>):Map<Int,Int>

start(x:Float, y:Float):Void

stop():Void

updatePosition(x:Float, y:Float):Void