public class CIMBackgroundCallout extends CIMLineCallout
| Constructor and Description |
|---|
CIMBackgroundCallout() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMBackgroundCallout |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
CIMLineSymbol |
getAccentBarSymbol()
Gets the symbol used to draw the accent bar.
|
CIMPolygonSymbol |
getBackgroundSymbol()
Gets the symbol used to draw the background.
|
CIMTextMargin |
getMargin()
Gets the text margin defining the space around the text that is accounted for in background creation.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setAccentBarSymbol(CIMLineSymbol accentBarSymbol)
Sets the symbol used to draw the accent bar.
|
void |
setBackgroundSymbol(CIMPolygonSymbol backgroundSymbol)
Sets the symbol used to draw the background.
|
void |
setMargin(CIMTextMargin margin)
Sets the text margin defining the space around the text that is accounted for in background creation.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getGap, getLeaderLineSymbol, getLineStyle, setGap, setLeaderLineSymbol, setLineStylegetLeaderOffset, getLeaderTolerance, setLeaderOffset, setLeaderTolerancepublic CIMPolygonSymbol getBackgroundSymbol()
public void setBackgroundSymbol(CIMPolygonSymbol backgroundSymbol)
public CIMLineSymbol getAccentBarSymbol()
public void setAccentBarSymbol(CIMLineSymbol accentBarSymbol)
public CIMTextMargin getMargin()
public void setMargin(CIMTextMargin margin)
public static CIMBackgroundCallout fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMLineCalloutCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMLineCallout