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
The size of an area with
float
coordinates.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
A builder for size values. -
Method Summary
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 interfaceAreaSizeValuesFType
- Returns:
- The size of the area on the X axis
-
sizeY
@Parameter(order=1) float sizeY()- Specified by:
sizeY
in interfaceAreaSizeValuesFType
- Returns:
- The size of the area on the Y axis
-
checkPreconditions
@Check default void checkPreconditions()Check preconditions for the type.
-