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