public class Polygon extends AbstractShape
Constructor and Description |
---|
Polygon() |
Polygon(java.util.List<Position> positions) |
Polygon(java.util.List<Position> positions,
ShapeAttributes attributes) |
Polygon(ShapeAttributes attributes) |
Modifier and Type | Method and Description |
---|---|
void |
addBoundary(int index,
java.util.List<Position> positions) |
void |
addBoundary(java.util.List<Position> positions) |
void |
clearBoundaries() |
java.util.List<Position> |
getBoundary(int index) |
int |
getBoundaryCount() |
boolean |
isExtrude() |
boolean |
isFollowTerrain() |
java.util.List<Position> |
removeBoundary(int index) |
java.util.List<Position> |
setBoundary(int index,
java.util.List<Position> positions) |
void |
setExtrude(boolean extrude) |
void |
setFollowTerrain(boolean followTerrain) |
getAltitudeMode, getAttributes, getHighlightAttributes, getMaximumIntermediatePoints, getPathType, isHighlighted, setAltitudeMode, setAttributes, setHighlightAttributes, setHighlighted, setMaximumIntermediatePoints, setPathType
getDisplayName, getPickDelegate, getUserProperty, hasUserProperty, isEnabled, putUserProperty, removeUserProperty, render, setDisplayName, setEnabled, setPickDelegate
public Polygon()
public Polygon(ShapeAttributes attributes)
public Polygon(java.util.List<Position> positions)
public Polygon(java.util.List<Position> positions, ShapeAttributes attributes)
public int getBoundaryCount()
public java.util.List<Position> getBoundary(int index)
public java.util.List<Position> setBoundary(int index, java.util.List<Position> positions)
public void addBoundary(java.util.List<Position> positions)
public void addBoundary(int index, java.util.List<Position> positions)
public java.util.List<Position> removeBoundary(int index)
public void clearBoundaries()
public boolean isExtrude()
public void setExtrude(boolean extrude)
public boolean isFollowTerrain()
public void setFollowTerrain(boolean followTerrain)