-
- All Known Implementing Classes:
AnimatedLength,Length
public interface LengthValue
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static @Nullable LengthValuederive(@Nullable LengthValue current, @Nullable LengthValue other)booleanisConstantlyNonNegative()booleanisConstantlyZero()floatresolve(@NotNull MeasureContext context)Resolve the length to its effective value.
-
-
-
Method Detail
-
derive
@Nullable static @Nullable LengthValue derive(@Nullable @Nullable LengthValue current, @Nullable @Nullable LengthValue other)
-
isConstantlyZero
boolean isConstantlyZero()
-
isConstantlyNonNegative
boolean isConstantlyNonNegative()
-
resolve
float resolve(@NotNull @NotNull MeasureContext context)Resolve the length to its effective value.- Parameters:
context- the measuring context.- Returns:
- the resolved size.
-
-