Class GeoCoordinatesKeyframe

java.lang.Object
com.here.sdk.animation.GeoCoordinatesKeyframe

public final class GeoCoordinatesKeyframe extends Object

A GeoCoordinatesKeyframe consists of a GeoCoordinates and an animation duration.

  • Field Details

    • value

      @NonNull public final GeoCoordinates value

      GeoCoordinates keyframe value. Altitude component is ignored.

    • duration

      @NonNull public final Duration duration

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

  • Constructor Details

    • GeoCoordinatesKeyframe

      public GeoCoordinatesKeyframe(@NonNull GeoCoordinates value, @NonNull Duration duration)

      Constructs a GeoCoordinatesKeyframe from the value and offset.

      Parameters:
      value -

      GeoCoordinates keyframe value.

      duration -

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

  • Method Details