Interface AreaSizeFType
- All Superinterfaces:
AreaSizeValuesFType
- All Known Implementing Classes:
AreaSizeF
@Immutable public interface AreaSizeFType extends AreaSizeValuesFType
The size of an area with
float coordinates.-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAreaSizeFType.BuilderA builder for size values. -
Method Summary
Modifier and Type Method Description default voidcheckPreconditions()Check preconditions for the type.floatsizeX()floatsizeY()Methods inherited from interface com.io7m.jregions.core.unparameterized.sizes.AreaSizeValuesFType
height, width
-
Method Details
-
sizeX
@Parameter(order=0) float sizeX()- Specified by:
sizeXin interfaceAreaSizeValuesFType- Returns:
- The size of the area on the X axis
-
sizeY
@Parameter(order=1) float sizeY()- Specified by:
sizeYin interfaceAreaSizeValuesFType- Returns:
- The size of the area on the Y axis
-
checkPreconditions
@Check default void checkPreconditions()Check preconditions for the type.
-