Interface LengthValue

All Known Implementing Classes:
AnimatedLength, Length

public interface LengthValue
  • Method Details

    • 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.