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 classAreaSizeBDType.BuilderA builder for size values. -
Method Summary
Modifier and Type Method Description default voidcheckPreconditions()Check preconditions for the type.java.math.BigDecimalsizeX()java.math.BigDecimalsizeY()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:
sizeXin interfaceAreaSizeValuesBDType- Returns:
- The size of the area on the X axis
-
sizeY
@Parameter(order=1) java.math.BigDecimal sizeY()- Specified by:
sizeYin interfaceAreaSizeValuesBDType- Returns:
- The size of the area on the Y axis
-
checkPreconditions
@Check default void checkPreconditions()Check preconditions for the type.
-