Package org.daisy.dotify.api.paper
Class Area
- java.lang.Object
-
- org.daisy.dotify.api.paper.Area
-
- All Implemented Interfaces:
Dimensions
public class Area extends Object implements Dimensions
-
-
Constructor Summary
Constructors Constructor Description Area(double width, double height, double offsetX, double offsetY)Creates a new area with the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetHeight()Gets height, in mm.doublegetOffsetX()Gets the x-offset.doublegetOffsetY()Gets the y-offset.doublegetWidth()Gets width, in mm.
-
-
-
Method Detail
-
getWidth
public double getWidth()
Description copied from interface:DimensionsGets width, in mm.- Specified by:
getWidthin interfaceDimensions- Returns:
- returns width in mm.
-
getHeight
public double getHeight()
Description copied from interface:DimensionsGets height, in mm.- Specified by:
getHeightin interfaceDimensions- Returns:
- returns height in mm.
-
getOffsetX
public double getOffsetX()
Gets the x-offset.- Returns:
- returns the x-offset, in mm
-
getOffsetY
public double getOffsetY()
Gets the y-offset.- Returns:
- returns the y-offset, in mm
-
-