public class MapElement extends GeometryBuffer
GeometryBuffer.GeometryType| Modifier and Type | Field and Description |
|---|---|
PointF |
labelPosition |
int |
layer
layer of the element (0-10) overrides the theme drawing order
|
TagSet |
tags |
| Constructor and Description |
|---|
MapElement() |
MapElement(int points,
int indices) |
| Modifier and Type | Method and Description |
|---|---|
MapElement |
clear()
Reset buffer.
|
void |
setLabelPosition(float x,
float y) |
void |
setLayer(int layer) |
java.lang.String |
toString() |
addPoint, addPoint, addPoint, area, ensureIndexSize, ensurePointSize, getNumPoints, getPoint, getPoint, getPointX, getPointY, isLine, isPoint, isPoly, makeCircle, makeCircle, scale, setPoint, simplify, startHole, startLine, startPoints, startPolygon, translatepublic PointF labelPosition
public int layer
public final TagSet tags
public MapElement()
public MapElement(int points,
int indices)
public void setLabelPosition(float x,
float y)
public void setLayer(int layer)
public MapElement clear()
GeometryBufferclear in class GeometryBufferpublic java.lang.String toString()
toString in class GeometryBuffer