Point2DKeyframe (API Reference)
Package com.here.sdk.animation
Class Point2DKeyframe
java.lang.Object
com.here.sdk.animation.Point2DKeyframe
A Point2D keyframe. A keyframe consists of a value and an animation duration.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPoint2DKeyframe(Point2D value, Duration duration) Constructs a Point2DKeyframe from the value and offset. -
Method Summary
-
Field Details
-
value
Point2D keyframe value.
-
duration
Relative animation duration for reaching the keyframe value. Negative duration value gets clamped to 0.
-
-
Constructor Details
-
Point2DKeyframe
Constructs a Point2DKeyframe from the value and offset.
- Parameters:
value-Point2D keyframe value.
duration-Relative animation duration for reaching the keyframe value. Negative duration value gets clamped to 0.
-
-
Method Details