Interface LengthValue
- All Known Implementing Classes:
AnimatedLength, Length
public interface LengthValue
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable LengthValuederive(@Nullable LengthValue current, @Nullable LengthValue other) booleanbooleanfloatresolve(@NotNull MeasureContext context) Resolve the length to its effective value.
-
Method Details
-
derive
@Nullable static @Nullable LengthValue derive(@Nullable @Nullable LengthValue current, @Nullable @Nullable LengthValue other) -
isConstantlyZero
boolean isConstantlyZero() -
isConstantlyNonNegative
boolean isConstantlyNonNegative() -
resolve
Resolve the length to its effective value.- Parameters:
context- the measuring context.- Returns:
- the resolved size.
-