Class AnimatedColorProperty.AnimatedAlpha
java.lang.Object
dev.prozilla.pine.common.property.VariableProperty<Color>
dev.prozilla.pine.common.property.animated.AnimatedProperty<Color>
dev.prozilla.pine.common.property.animated.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 Summary
FieldsFields inherited from class dev.prozilla.pine.common.property.animated.AnimatedProperty
curve, end, start, timeFields inherited from class dev.prozilla.pine.common.property.VariableProperty
random -
Constructor Summary
ConstructorsConstructorDescriptionAnimatedAlpha(Color color, float alphaStart, float alphaEnd, AnimationCurve curve) -
Method Summary
Methods inherited from class dev.prozilla.pine.common.property.animated.AnimatedProperty
getCurve, getFactor, getRestartedValue, getUpdatedValue, hasFinished, restart, setDuration, updateMethods inherited from class dev.prozilla.pine.common.property.VariableProperty
exists, getValue, getValue, hasValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.prozilla.pine.common.property.ColorProperty
getColor
-
Field Details
-
alphaStart
protected final float alphaStart -
alphaEnd
protected final float alphaEnd
-
-
Constructor Details
-
AnimatedAlpha
-
-
Method Details
-
getValue
Description copied from class:VariablePropertyReturns the value of this property.- Specified by:
getValuein classVariableProperty<Color>- Returns:
- The value of this property.
-
transmit
Description copied from interface:TransmittableTransmits this object's data to a given target object.- Specified by:
transmitin interfaceTransmittable<Color>- Parameters:
target- The target object to transmit data to
-