Class TransitionedDimensionProperty
java.lang.Object
dev.prozilla.pine.common.property.animated.AnimatedProperty<DimensionBase>
dev.prozilla.pine.common.property.animated.AnimatedObjectProperty<DimensionBase>
dev.prozilla.pine.common.property.animated.transitioned.TransitionedObjectProperty<DimensionBase>
dev.prozilla.pine.common.property.animated.transitioned.TransitionedDimensionProperty
- All Implemented Interfaces:
Updatable,AnimatedPropertyBase<DimensionBase>,TransitionedProperty<DimensionBase>,Property<DimensionBase>,Functor<DimensionBase>
-
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
ConstructorsConstructorDescriptionTransitionedDimensionProperty(DimensionBase initialValue, AnimationCurve curve) -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the value of this property.voidtransitionToValue(DimensionBase targetValue) Methods inherited from class dev.prozilla.pine.common.property.animated.transitioned.TransitionedObjectProperty
computeStartValueMethods 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
getCurve, getFactor, getRestartedValue, getUpdatedValue, hasFinished, restart, setDuration, updateMethods inherited from interface dev.prozilla.pine.common.property.Property
getValueOr, hasValue, hasValueProperty, isNotNull, isNotNullProperty, isNull, map, replaceNull, requireValue, snapshot, toStringProperty
-
Field Details
-
result
-
-
Constructor Details
-
TransitionedDimensionProperty
-
-
Method Details
-
transitionToValue
- Specified by:
transitionToValuein interfaceTransitionedProperty<DimensionBase>- Overrides:
transitionToValuein classTransitionedObjectProperty<DimensionBase>
-
getValue
Description copied from interface:PropertyReturns the value of this property.- Returns:
- The value of this property.
-