public class CIMSimpleLineCallout extends CIMCallout
| Constructor and Description |
|---|
CIMSimpleLineCallout() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMSimpleLineCallout |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
boolean |
getAutoSnap()
Gets a value indicating whether or not to auto-snap the line leaders to the text.
|
CIMLineSymbol |
getLineSymbol()
Gets the line symbol used to draw leader lines.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setAutoSnap(boolean autoSnap)
Sets a value indicating whether or not to auto-snap the line leaders to the text.
|
void |
setLineSymbol(CIMLineSymbol lineSymbol)
Sets the line symbol used to draw leader lines.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getLeaderOffset, getLeaderTolerance, setLeaderOffset, setLeaderTolerancepublic CIMLineSymbol getLineSymbol()
public void setLineSymbol(CIMLineSymbol lineSymbol)
public boolean getAutoSnap()
public void setAutoSnap(boolean autoSnap)
public static CIMSimpleLineCallout fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMCalloutCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMCallout