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