public class CIMCompositeTextPartPosition extends CIMObject
| Constructor and Description |
|---|
CIMCompositeTextPartPosition() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMCompositeTextPartPosition |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
HorizontalAlignment |
getHorizontalAlignment()
Gets the horizontal alignment of the text part.
|
boolean |
getIsPartWithinCalloutBox()
Gets a value indicating whether the text part will be contained within the main callout.
|
double |
getSplitOffset()
Gets the split offset of the text part.
|
VerticalAlignment |
getVerticalAlignment()
Gets the vertical alignment of the text part.
|
double |
getXOffset()
Gets the X offset of the text part.
|
double |
getYOffset()
Gets the Y offset of the text part.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
Sets the horizontal alignment of the text part.
|
void |
setIsPartWithinCalloutBox(boolean isPartWithinCalloutBox)
Sets a value indicating whether the text part will be contained within the main callout.
|
void |
setSplitOffset(double splitOffset)
Sets the split offset of the text part.
|
void |
setVerticalAlignment(VerticalAlignment verticalAlignment)
Sets the vertical alignment of the text part.
|
void |
setXOffset(double xOffset)
Sets the X offset of the text part.
|
void |
setYOffset(double yOffset)
Sets the Y offset of the text part.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public HorizontalAlignment getHorizontalAlignment()
public void setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
public VerticalAlignment getVerticalAlignment()
public void setVerticalAlignment(VerticalAlignment verticalAlignment)
public double getXOffset()
public void setXOffset(double xOffset)
public double getYOffset()
public void setYOffset(double yOffset)
public double getSplitOffset()
public void setSplitOffset(double splitOffset)
public boolean getIsPartWithinCalloutBox()
public void setIsPartWithinCalloutBox(boolean isPartWithinCalloutBox)
public static CIMCompositeTextPartPosition fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMObjectCIMJSONExceptionpublic void serialize(JSONObject jsonObject)