Interface AreaSizeDType

All Superinterfaces:
AreaSizeValuesDType
All Known Implementing Classes:
AreaSizeD

@Immutable public interface AreaSizeDType extends AreaSizeValuesDType
The size of an area with double 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.
    double
     
    double
     

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

    height, width
  • Method Details

    • sizeX

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

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

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