Interface BoundingBox
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BoundingBoxImpl
The Interface BoundingBox.
-
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the height.intgetLayer()Gets the layer.Gets the origin.getShape()Gets the shape.getType()Gets the type.doublegetWidth()Gets the width.doublegetX()Gets the x.doublegetY()Gets the y.intGets the zindex.voidsetHeight(double height) Sets the height.voidsetLayer(int layer) Sets the layer.voidSets the origin.voidSets the shape.voidSets the type.voidsetWidth(double width) Sets the width.voidsetX(double x) Sets the x.voidsetY(double y) Sets the y.voidsetZindex(int zindex) Sets the zindex.
-
Method Details
-
getX
double getX()Gets the x.- Returns:
- the x
-
setX
void setX(double x) Sets the x.- Parameters:
x- the x to set
-
getY
double getY()Gets the y.- Returns:
- the y
-
setY
void setY(double y) Sets the y.- Parameters:
y- the y to set
-
getWidth
double getWidth()Gets the width.- Returns:
- the width
-
setWidth
void setWidth(double width) Sets the width.- Parameters:
width- the width to set
-
getHeight
double getHeight()Gets the height.- Returns:
- the height
-
setHeight
void setHeight(double height) Sets the height.- Parameters:
height- the height to set
-
getType
String getType()Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the type to set
-
getShape
String getShape()Gets the shape.- Returns:
- the shape
-
setShape
Sets the shape.- Parameters:
shape- the shape to set
-
getOrigin
String getOrigin()Gets the origin.- Returns:
- the origin
-
setOrigin
Sets the origin.- Parameters:
origin- the origin to set
-
getLayer
int getLayer()Gets the layer.- Returns:
- the layer
-
setLayer
void setLayer(int layer) Sets the layer.- Parameters:
layer- the layer to set
-
getZindex
int getZindex()Gets the zindex.- Returns:
- the zindex
-
setZindex
void setZindex(int zindex) Sets the zindex.- Parameters:
zindex- the zindex to set
-