public class RectangleMapObject extends MapObject
| Constructor and Description |
|---|
RectangleMapObject()
Creates a rectangle object which lower left corner is at (0, 0) with width=1 and height=1
|
RectangleMapObject(float x,
float y,
float width,
float height) |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
getRectangle() |
getColor, getName, getOpacity, getProperties, isVisible, setColor, setName, setOpacity, setVisiblepublic RectangleMapObject()
public RectangleMapObject(float x,
float y,
float width,
float height)
x - y - width - height - public Rectangle getRectangle()