Class AnimatedColorProperty.AnimatedAlpha
java.lang.Object
dev.prozilla.pine.common.property.animated.AnimatedProperty<Color>
dev.prozilla.pine.common.property.animated.AnimatedObjectProperty<Color>
dev.prozilla.pine.common.property.animated.AnimatedColorProperty.AnimatedAlpha
- All Implemented Interfaces:
Updatable,AnimatedPropertyBase<Color>,ColorProperty,Property<Color>,Transmittable<Color>,Functor<Color>
- Enclosing class:
AnimatedColorProperty
public static class AnimatedColorProperty.AnimatedAlpha
extends AnimatedObjectProperty<Color>
implements ColorProperty
A color property with an animated alpha value.
-
Field Summary
FieldsFields inherited from class dev.prozilla.pine.common.property.animated.AnimatedObjectProperty
end, startFields inherited from class dev.prozilla.pine.common.property.animated.AnimatedProperty
curve, time -
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, hasFinished, restart, setDuration, updateMethods 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.animated.AnimatedPropertyBase
getRestartedValue, getUpdatedValueMethods inherited from interface dev.prozilla.pine.common.property.ColorProperty
getColor, replaceNullMethods inherited from interface dev.prozilla.pine.common.property.Property
getValueOr, hasValue, hasValueProperty, isNotNull, isNotNullProperty, isNull, map, requireValue, snapshot, toStringProperty
-
Field Details
-
alphaStart
protected final float alphaStart -
alphaEnd
protected final float alphaEnd
-
-
Constructor Details
-
AnimatedAlpha
-
-
Method Details
-
getValue
Description copied from interface:PropertyReturns the value of this property. -
transmit
Description copied from interface:TransmittableTransmits this object's data to a given target object.- Specified by:
transmitin interfaceColorProperty- Specified by:
transmitin interfaceTransmittable<Color>- Parameters:
target- The target object to transmit data to
-