Class AdaptiveDimensionProperty
java.lang.Object
dev.prozilla.pine.common.property.VariableProperty<DimensionBase>
dev.prozilla.pine.common.property.adaptive.AdaptivePropertyBase<DimensionBase>
dev.prozilla.pine.common.property.adaptive.AdaptiveProperty<DimensionBase>
dev.prozilla.pine.common.property.adaptive.AdaptiveDimensionProperty
- All Implemented Interfaces:
Animatable
-
Field Summary
Fields inherited from class dev.prozilla.pine.common.property.adaptive.AdaptivePropertyBase
animatedProperty, variablePropertyFields inherited from class dev.prozilla.pine.common.property.VariableProperty
random -
Constructor Summary
ConstructorsConstructorDescriptionAdaptiveDimensionProperty(DimensionBase fixedValue) AdaptiveDimensionProperty(VariableProperty<DimensionBase> variableProperty) -
Method Summary
Modifier and TypeMethodDescriptionstatic AdaptiveDimensionPropertyadapt(DimensionBase value) Converts a dimension into an adaptive property.static AdaptiveDimensionPropertyadapt(AdaptiveDimensionProperty property) static AdaptiveDimensionPropertyadapt(VariableProperty<DimensionBase> property) Converts any dimension property into an adaptive property.Methods inherited from class dev.prozilla.pine.common.property.adaptive.AdaptiveProperty
getValueMethods inherited from class dev.prozilla.pine.common.property.adaptive.AdaptivePropertyBase
isAnimated, isDynamic, restartAnimation, updateAnimationMethods inherited from class dev.prozilla.pine.common.property.VariableProperty
exists, getValue, getValue, hasValue
-
Constructor Details
-
AdaptiveDimensionProperty
-
AdaptiveDimensionProperty
-
-
Method Details
-
adapt
Converts a dimension into an adaptive property.- Parameters:
value- The value of the property
-
adapt
-
adapt
Converts any dimension property into an adaptive property.- Parameters:
property- The property to adapt
-