public class CIMCompositeCallout extends CIMCallout
| Constructor and Description |
|---|
CIMCompositeCallout() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMCompositeCallout |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
CIMPolygonSymbol |
getBackgroundSymbol()
Gets the symbol used to draw the background.
|
CIMCompositeTextPartPosition |
getBottom()
Gets the text part position properties for the bottom part of the callout text.
|
CIMCompositeTextPartPosition |
getBottomLeft()
Gets the text part position properties for the bottom left part of the callout text.
|
CIMCompositeTextPartPosition |
getBottomRight()
Gets the text part position properties for the bottom right part of the callout text.
|
double |
getCornerRadius()
Gets the callout corner radius in points.
|
CIMPolygonSymbol |
getDartSymbol()
Gets a symbol used to draw the dart.
|
double |
getDartWidth()
Gets the dart width.
|
CIMCompositeTextPartPosition |
getFloating()
Gets the text part position properties for the floating part of the callout text.
|
double |
getLeaderLinePercentage()
Gets the percentage of the leader line which is drawn as a line as opposed to a solid dart.
|
CIMLineSymbol |
getLeaderLineSymbol()
Gets the leader line symbol.
|
CIMCompositeTextPartPosition |
getLeft()
Gets the text part position properties for the left part of the callout text.
|
CIMTextMargin |
getMargin()
Gets the text margin defining the space around the text that is accounted for in balloon creation.
|
CIMCompositeTextPartPosition |
getMiddle()
Gets the text part position properties for the middle part of the callout text.
|
CIMCompositeTextPartPosition |
getRight()
Gets the text part position properties for the right part of the callout text.
|
CIMPolygonSymbol |
getShadowSymbol()
Gets the shadow symbol for the callout.
|
double |
getShadowXOffset()
Gets the shadow offset from the callout symbol in the horizontal direction.
|
double |
getShadowYOffset()
Gets the shadow offset from the callout symbol in the vertical direction.
|
boolean |
getSnapLeaderToCornersOnly()
Gets a value indicating whether the leader line should snap only to corners.
|
CIMCompositeTextPartPosition |
getTop()
Gets the text part position properties for the top part of the callout text.
|
CIMCompositeTextPartPosition |
getTopLeft()
Gets the text part position properties for the top left part of the callout text.
|
CIMCompositeTextPartPosition |
getTopRight()
Gets the text part position properties for the top right part of the callout text.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setBackgroundSymbol(CIMPolygonSymbol backgroundSymbol)
Sets the symbol used to draw the background.
|
void |
setBottom(CIMCompositeTextPartPosition bottom)
Sets the text part position properties for the bottom part of the callout text.
|
void |
setBottomLeft(CIMCompositeTextPartPosition bottomLeft)
Sets the text part position properties for the bottom left part of the callout text.
|
void |
setBottomRight(CIMCompositeTextPartPosition bottomRight)
Sets the text part position properties for the bottom right part of the callout text.
|
void |
setCornerRadius(double cornerRadius)
Sets the callout corner radius in points.
|
void |
setDartSymbol(CIMPolygonSymbol dartSymbol)
Sets a symbol used to draw the dart.
|
void |
setDartWidth(double dartWidth)
Sets the dart width.
|
void |
setFloating(CIMCompositeTextPartPosition floating)
Sets the text part position properties for the floating part of the callout text.
|
void |
setLeaderLinePercentage(double leaderLinePercentage)
Sets the percentage of the leader line which is drawn as a line as opposed to a solid dart.
|
void |
setLeaderLineSymbol(CIMLineSymbol leaderLineSymbol)
Sets the leader line symbol.
|
void |
setLeft(CIMCompositeTextPartPosition left)
Sets the text part position properties for the left part of the callout text.
|
void |
setMargin(CIMTextMargin margin)
Sets the text margin defining the space around the text that is accounted for in balloon creation.
|
void |
setMiddle(CIMCompositeTextPartPosition middle)
Sets the text part position properties for the middle part of the callout text.
|
void |
setRight(CIMCompositeTextPartPosition right)
Sets the text part position properties for the right part of the callout text.
|
void |
setShadowSymbol(CIMPolygonSymbol shadowSymbol)
Sets the shadow symbol for the callout.
|
void |
setShadowXOffset(double shadowXOffset)
Sets the shadow offset from the callout symbol in the horizontal direction.
|
void |
setShadowYOffset(double shadowYOffset)
Sets the shadow offset from the callout symbol in the vertical direction.
|
void |
setSnapLeaderToCornersOnly(boolean snapLeaderToCornersOnly)
Sets a value indicating whether the leader line should snap only to corners.
|
void |
setTop(CIMCompositeTextPartPosition top)
Sets the text part position properties for the top part of the callout text.
|
void |
setTopLeft(CIMCompositeTextPartPosition topLeft)
Sets the text part position properties for the top left part of the callout text.
|
void |
setTopRight(CIMCompositeTextPartPosition topRight)
Sets the text part position properties for the top right part of the callout text.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getLeaderOffset, getLeaderTolerance, setLeaderOffset, setLeaderTolerancepublic double getCornerRadius()
public void setCornerRadius(double cornerRadius)
public CIMPolygonSymbol getBackgroundSymbol()
public void setBackgroundSymbol(CIMPolygonSymbol backgroundSymbol)
public CIMTextMargin getMargin()
public void setMargin(CIMTextMargin margin)
public double getDartWidth()
public void setDartWidth(double dartWidth)
public CIMPolygonSymbol getDartSymbol()
public void setDartSymbol(CIMPolygonSymbol dartSymbol)
public boolean getSnapLeaderToCornersOnly()
public void setSnapLeaderToCornersOnly(boolean snapLeaderToCornersOnly)
public double getLeaderLinePercentage()
public void setLeaderLinePercentage(double leaderLinePercentage)
public CIMLineSymbol getLeaderLineSymbol()
public void setLeaderLineSymbol(CIMLineSymbol leaderLineSymbol)
public CIMPolygonSymbol getShadowSymbol()
public void setShadowSymbol(CIMPolygonSymbol shadowSymbol)
public double getShadowXOffset()
public void setShadowXOffset(double shadowXOffset)
public double getShadowYOffset()
public void setShadowYOffset(double shadowYOffset)
public CIMCompositeTextPartPosition getMiddle()
public void setMiddle(CIMCompositeTextPartPosition middle)
public CIMCompositeTextPartPosition getTopLeft()
public void setTopLeft(CIMCompositeTextPartPosition topLeft)
public CIMCompositeTextPartPosition getTop()
public void setTop(CIMCompositeTextPartPosition top)
public CIMCompositeTextPartPosition getTopRight()
public void setTopRight(CIMCompositeTextPartPosition topRight)
public CIMCompositeTextPartPosition getRight()
public void setRight(CIMCompositeTextPartPosition right)
public CIMCompositeTextPartPosition getLeft()
public void setLeft(CIMCompositeTextPartPosition left)
public CIMCompositeTextPartPosition getBottomLeft()
public void setBottomLeft(CIMCompositeTextPartPosition bottomLeft)
public CIMCompositeTextPartPosition getBottom()
public void setBottom(CIMCompositeTextPartPosition bottom)
public CIMCompositeTextPartPosition getBottomRight()
public void setBottomRight(CIMCompositeTextPartPosition bottomRight)
public CIMCompositeTextPartPosition getFloating()
public void setFloating(CIMCompositeTextPartPosition floating)
public static CIMCompositeCallout 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