Class AnimatedColorProperty.AnimatedAlpha

All Implemented Interfaces:
ColorProperty, Transmittable<Color>
Enclosing class:
AnimatedColorProperty

public static class AnimatedColorProperty.AnimatedAlpha extends AnimatedProperty<Color> implements ColorProperty
A color property with an animated alpha value.
  • Field Details

    • alphaStart

      protected final float alphaStart
    • alphaEnd

      protected final float alphaEnd
  • Constructor Details

    • AnimatedAlpha

      public AnimatedAlpha(Color color, float alphaStart, float alphaEnd, AnimationCurve curve)
  • Method Details

    • getValue

      public Color getValue()
      Specified by:
      getValue in class VariableProperty<Color>
      Returns:
      The value of this property.
    • transmit

      public void transmit(Color target)
      Description copied from interface: Transmittable
      Transmits this object's data to a given target object.
      Specified by:
      transmit in interface Transmittable<Color>
      Parameters:
      target - the target object to which data will be transmitted