Class Anchor2DKeyframe
Package com.here.sdk.animation
Class Anchor2DKeyframe
- java.lang.Object
-
- com.here.sdk.animation.Anchor2DKeyframe
-
public final class Anchor2DKeyframe extends java.lang.ObjectAn Anchor2D keyframe. A keyframe consists of a value and an animation duration.
-
-
Constructor Summary
Constructors Constructor Description Anchor2DKeyframe(Anchor2D value, Duration duration)Constructs a Anchor2DKeyframe from the value and offset.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Constructor Detail
-
Anchor2DKeyframe
public Anchor2DKeyframe(@NonNull Anchor2D value, @NonNull Duration duration)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.
-
-