Interface AreaSizeBDType

All Superinterfaces:
AreaSizeValuesBDType
All Known Implementing Classes:
AreaSizeBD

@Immutable
public interface AreaSizeBDType
extends AreaSizeValuesBDType
The size of an area with BigDecimal coordinates.
  • Nested Class Summary

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

    Modifier and Type Method Description
    default void checkPreconditions()
    Check preconditions for the type.
    java.math.BigDecimal sizeX()  
    java.math.BigDecimal sizeY()  

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

    height, width
  • Method Details

    • sizeX

      @Parameter(order=0) java.math.BigDecimal sizeX()
      Specified by:
      sizeX in interface AreaSizeValuesBDType
      Returns:
      The size of the area on the X axis
    • sizeY

      @Parameter(order=1) java.math.BigDecimal sizeY()
      Specified by:
      sizeY in interface AreaSizeValuesBDType
      Returns:
      The size of the area on the Y axis
    • checkPreconditions

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