public class Area extends Object implements Dimensions
Constructor and Description |
---|
Area(double width,
double height,
double offsetX,
double offsetY)
Creates a new area with the specified parameters
|
Modifier and Type | Method and 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.
|
public Area(double width, double height, double offsetX, double offsetY)
width
- the width, in mmheight
- the height, in mmoffsetX
- the x-offset, in mmoffsetY
- the y-offset, in mmpublic double getWidth()
Dimensions
getWidth
in interface Dimensions
public double getHeight()
Dimensions
getHeight
in interface Dimensions
public double getOffsetX()
public double getOffsetY()