public class ScaleDiskOverlay extends Overlay
Overlay.Snappable
mBounds, SHADOW_X_SKEW, SHADOW_Y_SCALE
DEFAULT_ZOOMLEVEL_MINIMAP_DIFFERENCE, NOT_SET
Constructor and Description |
---|
ScaleDiskOverlay(Context pContext,
GeoPoint pGeoCenter,
int pValue,
GeoConstants.UnitOfMeasure pUnitOfMeasure) |
Modifier and Type | Method and Description |
---|---|
void |
draw(Canvas pCanvas,
Projection pProjection) |
void |
setCirclePaint1(Paint pPaint)
Circle Paint 1 setter (typically for a disk)
Can be null; will be used before Circle Paint 2
|
void |
setCirclePaint2(Paint pPaint)
Circle Paint 2 setter (typically for a circle)
Can be null; will be used after Circle Paint 1
|
void |
setDisplaySizeMax(int pValue)
Maximum display size setter (<= 0 means no maximum)
|
void |
setDisplaySizeMin(int pValue)
Minimum display size setter (<= 0 means no minimum)
|
void |
setLabelOffsetBottom(Integer pValue)
Label offset setter for bottom (null means no label on bottom)
|
void |
setLabelOffsetLeft(Integer pValue)
Label offset setter for left (null means no label on left)
|
void |
setLabelOffsetRight(Integer pValue)
Label offset setter for right (null means no label on right)
|
void |
setLabelOffsetTop(Integer pValue)
Label offset setter for top (null means no label on top)
|
void |
setTextPaint(Paint pPaint)
Label Paint setter (null means no label will be displayed)
|
draw, drawAt, getBounds, getSafeMenuId, getSafeMenuIdSequence, isEnabled, onDetach, onDoubleTap, onDoubleTapEvent, onDown, onFling, onKeyDown, onKeyUp, onLongPress, onPause, onResume, onScroll, onShowPress, onSingleTapConfirmed, onSingleTapUp, onTouchEvent, onTrackballEvent, setEnabled
public ScaleDiskOverlay(Context pContext, GeoPoint pGeoCenter, int pValue, GeoConstants.UnitOfMeasure pUnitOfMeasure)
public void setCirclePaint1(Paint pPaint)
public void setCirclePaint2(Paint pPaint)
public void setTextPaint(Paint pPaint)
public void setLabelOffsetTop(Integer pValue)
public void setLabelOffsetBottom(Integer pValue)
public void setLabelOffsetLeft(Integer pValue)
public void setLabelOffsetRight(Integer pValue)
public void setDisplaySizeMin(int pValue)
public void setDisplaySizeMax(int pValue)
public void draw(Canvas pCanvas, Projection pProjection)