SimpleLineStyle

public class SimpleLineStyle extends Style implements ITextStyle

Fields

LineStyleDash

public static final int LineStyleDash

LineStyleEdgingSolid

public static final int LineStyleEdgingSolid

LineStyleSolid

public static final int LineStyleSolid

mField

protected String mField

mStrokeCap

protected Paint.Cap mStrokeCap

mText

protected String mText

mType

protected int mType

Constructors

SimpleLineStyle

public SimpleLineStyle()

SimpleLineStyle

public SimpleLineStyle(int fillColor, int outColor, int type)

Methods

clone

public SimpleLineStyle clone()

drawDashLine

protected Path drawDashLine(float scaledWidth, GeoLineString lineString, GISDisplay display)

drawSolidEdgingLine

protected Path drawSolidEdgingLine(float scaledWidth, GeoLineString lineString, GISDisplay display)

drawSolidLine

protected Path drawSolidLine(float scaledWidth, GeoLineString lineString, GISDisplay display)

drawText

protected void drawText(float scaledWidth, Path mainPath, GISDisplay display)

fromJSON

public void fromJSON(JSONObject jsonObject)

getField

public String getField()

getText

public String getText()

getType

public int getType()

onDraw

public void onDraw(GeoLineString lineString, GISDisplay display)

onDraw

public void onDraw(GeoGeometry geoGeometry, GISDisplay display)

setField

public void setField(String field)

setText

public void setText(String text)

setType

public void setType(int type)

toJSON

public JSONObject toJSON()