class

Lottie::PositionProp

Inherits Reference < Object

Position is the one property that can arrive split into separate x/y tracks ("p": {"x": ..., "y": ...} with independent animation).

Constructors

new(joined : Prop(Vec2) = Prop(Vec2).static(Vec2.new(0.0, 0.0)), x : Prop(Float64) | Nil = nil, y : Prop(Float64) | Nil = nil)
Source

Instance methods

joined
Source
sample(frame : Float64) : Vec2
Source