public class PolygonMapObject extends MapObject
Constructor and Description |
---|
PolygonMapObject()
Creates empty polygon map object
|
PolygonMapObject(float[] vertices) |
PolygonMapObject(Polygon polygon) |
Modifier and Type | Method and Description |
---|---|
Polygon |
getPolygon() |
void |
setPolygon(Polygon polygon) |
getColor, getName, getOpacity, getProperties, isVisible, setColor, setName, setOpacity, setVisible
public PolygonMapObject()
public PolygonMapObject(float[] vertices)
vertices
- polygon defining vertices (at least 3)public PolygonMapObject(Polygon polygon)
polygon
- the polygonCopyright © 2014. All rights reserved.