SimpleTiledPolygonStyle

public class SimpleTiledPolygonStyle extends Style

Style to draw tiled polygons

Fields

JSON_FILL_KEY

protected String JSON_FILL_KEY

mFill

protected boolean mFill

mWidth

protected float mWidth

Constructors

SimpleTiledPolygonStyle

public SimpleTiledPolygonStyle()

SimpleTiledPolygonStyle

public SimpleTiledPolygonStyle(int color, int outColor)

Methods

appendPath

protected void appendPath(Path polygonPath, List<GeoPoint> points)

clone

public SimpleTiledPolygonStyle clone()

drawLineString

protected void drawLineString(GeoLineString line, GISDisplay display)

drawPoint

protected void drawPoint(GeoPoint pt, GISDisplay display)

drawPolygon

public void drawPolygon(GeoPolygon polygon, GISDisplay display)

fromJSON

public void fromJSON(JSONObject jsonObject)

getPath

protected Path getPath(GeoLineString lineString)

getPath

protected Path getPath(GeoPolygon polygon)

getWidth

public float getWidth()

isFill

public boolean isFill()

onDraw

public void onDraw(GeoGeometry geoGeometry, GISDisplay display)

setFill

public void setFill(boolean fill)

setWidth

public void setWidth(float width)

toJSON

public JSONObject toJSON()