Interface PAreaSizeFType<S>

Type Parameters:
S - A phantom type parameter indicating the coordinate space of the area
All Superinterfaces:
AreaSizeValuesFType
All Known Implementing Classes:
PAreaSizeF

@Immutable public interface PAreaSizeFType<S> extends AreaSizeValuesFType
The size of an area with float coordinates.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    A builder for size values.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Check preconditions for the type.
    float
     
    float
     

    Methods inherited from interface com.io7m.jregions.core.unparameterized.sizes.AreaSizeValuesFType

    height, width
  • Method Details

    • sizeX

      @Parameter(order=0) float sizeX()
      Specified by:
      sizeX in interface AreaSizeValuesFType
      Returns:
      The size of the area on the X axis
    • sizeY

      @Parameter(order=1) float sizeY()
      Specified by:
      sizeY in interface AreaSizeValuesFType
      Returns:
      The size of the area on the Y axis
    • checkPreconditions

      @Check default void checkPreconditions()
      Check preconditions for the type.