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 classAreaSizeDType.BuilderA builder for size values. -
Method Summary
Modifier and Type Method Description default voidcheckPreconditions()Check preconditions for the type.doublesizeX()doublesizeY()Methods inherited from interface com.io7m.jregions.core.unparameterized.sizes.AreaSizeValuesDType
height, width
-
Method Details
-
sizeX
@Parameter(order=0) double sizeX()- Specified by:
sizeXin interfaceAreaSizeValuesDType- Returns:
- The size of the area on the X axis
-
sizeY
@Parameter(order=1) double sizeY()- Specified by:
sizeYin interfaceAreaSizeValuesDType- Returns:
- The size of the area on the Y axis
-
checkPreconditions
@Check default void checkPreconditions()Check preconditions for the type.
-