Interface AttributeTrack<V>

Type Parameters:
V - the value type of the attribute
All Superinterfaces:
AttributeModification<V>, Wrapper

@NullMarked @AsOf("3.2.0") public interface AttributeTrack<V> extends Wrapper, AttributeModification<V>
A track that modifies an attribute.
Since:
3.2.0
  • Method Details

    • attribute

      @AsOf("3.2.0") EnvironmentAttribute<V> attribute()
      The attribute this track modifies.
      Specified by:
      attribute in interface AttributeModification<V>
      Returns:
      the attribute this track modifies
      Since:
      3.2.0
    • operation

      @AsOf("3.2.0") AttributeOperation operation()
      The operation this track performs.
      Specified by:
      operation in interface AttributeModification<V>
      Returns:
      the operation this track performs
      Since:
      3.2.0
    • easing

      @AsOf("3.2.0") Easing easing()
      The easing function used for this track.
      Returns:
      the easing function used for this track
      Since:
      3.2.0
    • keyframes

      @AsOf("3.2.0") List<Keyframe<?>> keyframes()
      The keyframes of this track.
      Returns:
      the keyframes of this track
      Since:
      3.2.0
    • toBuilder

      @AsOf("3.2.0") default AttributeTrack.Builder<V> toBuilder()
      Creates a new builder for this track.
      Returns:
      a new builder for this track
      Since:
      3.2.0
    • of

      @AsOf("3.2.0") static <V> AttributeTrack<V> of(EnvironmentAttribute<V> attribute, AttributeOperation operation, Easing easing, List<Keyframe<?>> keyframes)
      Creates a new attribute track.
      Type Parameters:
      V - the type of the attribute
      Parameters:
      attribute - the attribute to modify
      operation - the operation to perform
      easing - the easing function to use
      keyframes - the keyframes of the track
      Returns:
      a new attribute track
      Since:
      3.2.0
    • builder

      @AsOf("3.2.0") static <V> AttributeTrack.Builder<V> builder()
      Creates a new attribute track builder.
      Type Parameters:
      V - the type of the attribute
      Returns:
      a new attribute track builder
      Since:
      3.2.0