public class AutoSizeAngleOverlayShape extends Shape implements AnchoredMapItem
Modifier and Type | Class and Description |
---|---|
static interface |
AutoSizeAngleOverlayShape.OnPropertyChangedListener |
Shape.OnBasicLineStyleChangedListener, Shape.OnFillColorChangedListener, Shape.OnPointsChangedListener, Shape.OnStrokeColorChangedListener, Shape.OnStrokeWeightChangedListener, Shape.OnStyleChangedListener
MapItem.OnAltitudeModeChangedListener, MapItem.OnClickableChangedListener, MapItem.OnGroupChangedListener, MapItem.OnHeightChangedListener, MapItem.OnMetadataChangedListener, MapItem.OnTypeChangedListener, MapItem.OnVisibleChangedListener, MapItem.OnZOrderChangedListener
Modifier and Type | Field and Description |
---|---|
protected NorthReference |
_azimuth |
protected GeoPointMetaData |
center |
protected double |
offset |
BASIC_LINE_STYLE_DASHED, BASIC_LINE_STYLE_DOTTED, BASIC_LINE_STYLE_OUTLINED, BASIC_LINE_STYLE_SOLID, STYLE_FILLED_MASK, STYLE_STROKE_MASK
CLICKABLE_DEFAULT, EDITABLE_DEFAULT, EMPTY_TYPE, HIT_RATIO_DEFAULT, MOVABLE_DEFAULT, VISIBLE_DEFAULT, ZORDER_DEFAULT, ZORDER_HITTEST_COMPARATOR, ZORDER_RENDER_COMPARATOR
metadata
Constructor and Description |
---|
AutoSizeAngleOverlayShape(long serialId,
MetaDataHolder metadata,
java.lang.String uid) |
AutoSizeAngleOverlayShape(java.lang.String uid) |
Modifier and Type | Method and Description |
---|---|
void |
addOnPropertyChangedListener(AutoSizeAngleOverlayShape.OnPropertyChangedListener listener) |
protected void |
computeEllipseTestVerts() |
protected void |
firePropertyChangedEvent() |
PointMapItem |
getAnchorItem()
Get the anchor marker for this item
|
GeoBounds |
getBounds(MutableGeoBounds bounds)
The bounds of the shape
|
GeoPointMetaData |
getCenter()
Provides the center point for the Shape, or null if an error has occurred.
|
GeoPointMetaData[] |
getMetaDataPoints()
The array of points that make up the shape with the corresponding metadata.
|
NorthReference |
getNorthRef() |
double |
getOffsetAngle() |
GeoPoint[] |
getPoints()
The array of points without any metadata
|
boolean |
getProjectionProportition() |
GeoPoint |
getXTestOffset() |
GeoPoint |
getYTestOffset() |
boolean |
isShowingEdgeToCenter() |
boolean |
isShowingMils() |
void |
removeOnPropertyChangedListener(AutoSizeAngleOverlayShape.OnPropertyChangedListener listener) |
void |
save() |
void |
setBearingUnits(boolean showDegrees) |
void |
setCenter(GeoPointMetaData gp) |
void |
setCenterMarker(Marker centerMarker) |
void |
setEdgeToCenterDirection(boolean edgeToCenter) |
void |
setGridAzimuth() |
void |
setMagneticAzimuth() |
void |
setProjectionProportion(boolean projectionProportition) |
void |
setTrueAzimuth()
Important - See Span.ENGLISH, Span.METRIC, Span.NM
|
addOnBasicLineStyleChangedListener, addOnFillColorChangedListener, addOnPointsChangedListener, addOnStrokeColorChangedListener, addOnStrokeWeightChangedListener, addOnStyleChangedListener, addStyleBits, drawCanvas, findTouchPoint, getArea, getBasicLineStyle, getClickPoint, getFillColor, getGeoPointMetaData, getIconColor, getPerimeterOrLength, getStrokeColor, getStrokeStyle, getStrokeWeight, getStyle, getTitle, onBasicLineStyleChanged, onFillColorChanged, onPointsChanged, onStrokeColorChanged, onStrokeStyleChanged, onStrokeWeightChanged, onStyleChanged, preDrawCanvas, removeOnBasicLineStyleChangedListener, removeOnFillColorChangedListener, removeOnPointsChangedListener, removeOnStrokeColorChangedListener, removeOnStrokeWeightChangedListener, removeOnStyleChangedListener, removeStyleBits, setBasicLineStyle, setColor, setColor, setFillAlpha, setFillColor, setStrokeColor, setStrokeStyle, setStrokeWeight, setStyle, setTitle, setTouchPoint, wrap180
addOnAltitudeModeChangedListener, addOnClickableChangedListener, addOnGroupChangedListener, addOnHeightChangedListener, addOnMetadataChangedListener, addOnMetadataChangedListener, addOnTypeChangedListener, addOnVisibleChangedListener, addOnZOrderChangedListener, computeDistance, copyMetaData, createSerialId, dispose, getAltitudeMode, getClickable, getEditable, getGroup, getHashtags, getHeight, getHitRadius, getIconDrawable, getMetaBoolean, getMetaString, getMovable, getRadialMenuPath, getRemarks, getRemarksKey, getSerialId, getTag, getType, getUID, getUniqueMapItemName, getURI, getVisible, getVisible, getZOrder, isTouchable, notifyMetadataChanged, onAdded, onAltitudeModeChanged, onClickableChanged, onGroupChanged, onHeightChanged, onMetadataChanged, onRemoved, onTypeChanged, onVisibilityConditions, onVisibleChanged, onZOrderChanged, persist, refresh, removeFromGroup, removeMetaData, removeOnAltitudeModeChangedListener, removeOnClickableChangedListener, removeOnGroupChangedListener, removeOnHeightChangedListener, removeOnMetadataChangedListener, removeOnMetadataChangedListener, removeOnTypeChangedListener, removeOnVisibleChangedListener, removeOnZOrderChangedListener, setAltitudeMode, setClickable, setClickPoint, setEditable, setHashtags, setHeight, setMetaBoolean, setMetaData, setMetaDouble, setMetaIntArray, setMetaInteger, setMetaLong, setMetaMap, setMetaParcelable, setMetaSerializable, setMetaString, setMetaStringArrayList, setMovable, setRadialMenu, setRemarks, setTag, setTouchable, setType, setVisible, setVisible, setZOrder, testOrthoHit, toString
get, getMetaData, getMetaDouble, getMetaIntArray, getMetaInteger, getMetaLong, getMetaMap, getMetaParcelable, getMetaSerializable, getMetaStringArrayList, hasMetaValue, setMetaDataImpl, toggleMetaData
protected NorthReference _azimuth
protected GeoPointMetaData center
protected double offset
public AutoSizeAngleOverlayShape(java.lang.String uid)
public AutoSizeAngleOverlayShape(long serialId, MetaDataHolder metadata, java.lang.String uid)
public void setCenterMarker(Marker centerMarker)
public PointMapItem getAnchorItem()
AnchoredMapItem
getAnchorItem
in interface AnchoredMapItem
public void addOnPropertyChangedListener(AutoSizeAngleOverlayShape.OnPropertyChangedListener listener)
public void removeOnPropertyChangedListener(AutoSizeAngleOverlayShape.OnPropertyChangedListener listener)
protected void firePropertyChangedEvent()
public void setTrueAzimuth()
public void setMagneticAzimuth()
public void setGridAzimuth()
public void setProjectionProportion(boolean projectionProportition)
public GeoPoint getXTestOffset()
public GeoPoint getYTestOffset()
protected void computeEllipseTestVerts()
public boolean getProjectionProportition()
public void save()
public void setEdgeToCenterDirection(boolean edgeToCenter)
public boolean isShowingEdgeToCenter()
public void setBearingUnits(boolean showDegrees)
public boolean isShowingMils()
public void setCenter(GeoPointMetaData gp)
public GeoPointMetaData getCenter()
Shape
public double getOffsetAngle()
public NorthReference getNorthRef()
public GeoPoint[] getPoints()
Shape
public GeoPointMetaData[] getMetaDataPoints()
Shape
getMetaDataPoints
in class Shape