public class TriangleOverlay extends FreeformOverlay
Overlay.LineStyle
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
_p, _path
bounds, color, dpiScale, fillColor, fontSize, LINE_TYPE_DASH, LINE_TYPE_DASH_DOT, LINE_TYPE_DASH_DOT_DOT, LINE_TYPE_DOT, LINE_TYPE_SOLID, name, strokeStyle, strokeWidth, TAG, uid
Constructor and Description |
---|
TriangleOverlay(PolygonCommand shape) |
TriangleOverlay(PolylineCommand line) |
Modifier and Type | Method and Description |
---|---|
void |
setup(android.graphics.PointF... points)
a triangle has three points
|
draw, getPoints, isClosed, offset, recalcBounds, recalcPath, setup, setup
getBounds, getColor, getFillColor, getFontSize, getIntBounds, getIntBounds, getName, getStrokeStyle, getStrokeWidth, getUID, isFilled, offset, setColor, setDpiScale, setFillColor, setFontSize, setName, setStrokeStyle, setStrokeWidth, withinBounds, withinBounds
public static final java.lang.String ID
public TriangleOverlay(PolylineCommand line)
public TriangleOverlay(PolygonCommand shape)
public void setup(android.graphics.PointF... points)
FreeformOverlay
setup
in class FreeformOverlay