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 double
getHeight()
Gets height, in mm.double
getOffsetX()
Gets the x-offset.double
getOffsetY()
Gets the y-offset.double
getWidth()
Gets width, in mm.
-
-
-
Method Detail
-
getWidth
public double getWidth()
Description copied from interface:Dimensions
Gets width, in mm.- Specified by:
getWidth
in interfaceDimensions
- Returns:
- returns width in mm.
-
getHeight
public double getHeight()
Description copied from interface:Dimensions
Gets height, in mm.- Specified by:
getHeight
in 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
-
-