Anchor2DKeyframe constructor
- Anchor2D value,
- Duration duration
Constructs a Anchor2DKeyframe from the value and offset.
-
valueAnchor2D keyframe value. -
durationRelative animation duration for reaching the keyframe value. Negative duration value gets clamped to 0.
Implementation
factory Anchor2DKeyframe(Anchor2D value, Duration duration) => $prototype.create(value, duration);