SimpleMarkerStyle

public class SimpleMarkerStyle extends Style implements ITextStyle

Fields

ALIGNMENTS

public static final ArrayList<Integer> ALIGNMENTS

ALIGN_BOTTOM

public static final int ALIGN_BOTTOM

ALIGN_BOTTOM_LEFT

public static final int ALIGN_BOTTOM_LEFT

ALIGN_BOTTOM_RIGHT

public static final int ALIGN_BOTTOM_RIGHT

ALIGN_LEFT

public static final int ALIGN_LEFT

ALIGN_RIGHT

public static final int ALIGN_RIGHT

ALIGN_TOP

public static final int ALIGN_TOP

ALIGN_TOP_LEFT

public static final int ALIGN_TOP_LEFT

ALIGN_TOP_RIGHT

public static final int ALIGN_TOP_RIGHT

MarkerEditStyleCircle

public static final int MarkerEditStyleCircle

MarkerStyleBox

public static final int MarkerStyleBox

MarkerStyleCircle

public static final int MarkerStyleCircle

MarkerStyleCross

public static final int MarkerStyleCross

MarkerStyleCrossedBox

public static final int MarkerStyleCrossedBox

MarkerStyleDiamond

public static final int MarkerStyleDiamond

MarkerStylePoint

public static final int MarkerStylePoint

MarkerStyleTriangle

public static final int MarkerStyleTriangle

SIZES

public static final ArrayList<Float> SIZES

SIZE_BIG

public static final float SIZE_BIG

SIZE_MEDIUM

public static final float SIZE_MEDIUM

SIZE_SMALL

public static final float SIZE_SMALL

mField

protected String mField

mFillPaint

protected Paint mFillPaint

mOutPaint

protected Paint mOutPaint

mSize

protected float mSize

mText

protected String mText

mTextAlignment

protected int mTextAlignment

mTextColor

protected int mTextColor

mType

protected int mType

Constructors

SimpleMarkerStyle

public SimpleMarkerStyle()

SimpleMarkerStyle

public SimpleMarkerStyle(int fillColor, int outColor, float size, int type)

Methods

clone

public SimpleMarkerStyle clone()

drawBoxMarker

protected void drawBoxMarker(float scaledSize, float width, GeoPoint pt, GISDisplay display)

drawCircleMarker

protected void drawCircleMarker(float scaledSize, float width, GeoPoint pt, GISDisplay display)

drawCrossMarker

protected void drawCrossMarker(float scaledSize, float width, GeoPoint pt, GISDisplay display)

drawCrossedBoxMarker

protected void drawCrossedBoxMarker(float scaledSize, float width, GeoPoint pt, GISDisplay display)

drawDiamondMarker

protected void drawDiamondMarker(float scaledSize, float width, GeoPoint pt, GISDisplay display)

drawPath

protected void drawPath(float width, Path path, GISDisplay display)

drawPointMarker

protected void drawPointMarker(float scaledSize, GeoPoint pt, GISDisplay display)

drawText

protected void drawText(float radius, float size, GeoPoint pt, GISDisplay display)

drawTriangleMarker

protected void drawTriangleMarker(float scaledSize, float width, GeoPoint pt, GISDisplay display)

fromJSON

public void fromJSON(JSONObject jsonObject)

getField

public String getField()

getSize

public float getSize()

getText

public String getText()

getTextAlignment

public int getTextAlignment()

getTextColor

public int getTextColor()

getTextSize

public float getTextSize()

getType

public int getType()

initPaints

protected void initPaints()

onDraw

protected void onDraw(GeoPoint pt, GISDisplay display)

onDraw

public void onDraw(GeoGeometry geoGeometry, GISDisplay display)

setColor

public void setColor(int color)

setField

public void setField(String field)

setPaintsColors

protected void setPaintsColors()

setSize

public void setSize(float size)

setText

public void setText(String text)

setTextAlignment

public void setTextAlignment(int alignment)

setTextColor

public void setTextColor(int color)

setTextSize

public void setTextSize(float size)

setType

public void setType(int type)

toJSON

public JSONObject toJSON()