public class CIMPointSymbol extends CIMMultiLayerSymbol
| Constructor and Description |
|---|
CIMPointSymbol() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMPointSymbol |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
double |
getAngle()
Gets the amount of variation applied to the symbol, measured in degrees, propagated cumulatively to all marker symbols.
|
AngleAlignment |
getAngleAlignment()
Gets whether point symbols align to the map or to the display when a rotation is applied to the map.
|
CIMCallout |
getCallout()
Gets the callout of the point symbol.
|
double |
getHaloSize()
Gets the size of the halo that extends beyond the symbol shape.
|
CIMPolygonSymbol |
getHaloSymbol()
Gets the polygon symbol that is used to draw the halo for a point symbol.
|
java.lang.String |
getPrimitiveName()
Gets the primitive name.
|
double |
getScaleX()
Gets the X scale which changes the width of the symbol without changing the height (or depth in 3D), as a ratio.
|
CIM3DSymbolProperties |
getSymbol3DProperties()
Gets the collection of symbol properties that apply when the symbol is used in a 3D context.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setAngle(double angle)
Sets the amount of variation applied to the symbol, measured in degrees, propagated cumulatively to all marker symbols.
|
void |
setAngleAlignment(AngleAlignment angleAlignment)
Sets whether point symbols align to the map or to the display when a rotation is applied to the map.
|
void |
setCallout(CIMCallout callout)
Sets the callout of the point symbol.
|
void |
setHaloSize(double haloSize)
Sets the size of the halo that extends beyond the symbol shape.
|
void |
setHaloSymbol(CIMPolygonSymbol haloSymbol)
Sets the polygon symbol that is used to draw the halo for a point symbol.
|
void |
setPrimitiveName(java.lang.String primitiveName)
Sets the primitive name.
|
void |
setScaleX(double scaleX)
Sets the X scale which changes the width of the symbol without changing the height (or depth in 3D), as a ratio.
|
void |
setSymbol3DProperties(CIM3DSymbolProperties symbol3DProperties)
Sets the collection of symbol properties that apply when the symbol is used in a 3D context.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getAnimations, getEffects, getSymbolLayers, getThumbnailURI, getUseRealWorldSymbolSizes, setAnimations, setEffects, setSymbolLayers, setThumbnailURI, setUseRealWorldSymbolSizespublic CIMCallout getCallout()
public void setCallout(CIMCallout callout)
public double getHaloSize()
public void setHaloSize(double haloSize)
public CIMPolygonSymbol getHaloSymbol()
public void setHaloSymbol(CIMPolygonSymbol haloSymbol)
public java.lang.String getPrimitiveName()
public void setPrimitiveName(java.lang.String primitiveName)
public double getScaleX()
public void setScaleX(double scaleX)
public CIM3DSymbolProperties getSymbol3DProperties()
public void setSymbol3DProperties(CIM3DSymbolProperties symbol3DProperties)
public double getAngle()
public void setAngle(double angle)
public AngleAlignment getAngleAlignment()
public void setAngleAlignment(AngleAlignment angleAlignment)
public static CIMPointSymbol fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMMultiLayerSymbolCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMMultiLayerSymbol