Class Anchor2DKeyframe

  • java.lang.Object
    • com.here.sdk.animation.Anchor2DKeyframe

  • public final class Anchor2DKeyframe
    extends java.lang.Object

    An Anchor2D keyframe. A keyframe consists of a value and an animation duration.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      Duration duration
      Relative animation duration for reaching the keyframe value.
      Anchor2D value
      Anchor2D keyframe value.
    • 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
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        @NonNull
        public final Anchor2D value

        Anchor2D keyframe value.

      • duration

        @NonNull
        public final Duration duration

        Relative animation duration for reaching the keyframe value. Negative duration value gets clamped to 0.

    • 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.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object