public class CIMMarkerPlacementPolygonCenter extends CIMMarkerFillPlacement
| Constructor and Description |
|---|
CIMMarkerPlacementPolygonCenter() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMarkerPlacementPolygonCenter |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
boolean |
getClipAtBoundary()
Gets a value indicating whether the marker should be clipped if it extends pasts the boundary of the polygon.
|
PlacementPolygonCenterMethod |
getMethod()
Gets the method used to determine the polygon center.
|
double |
getOffsetX()
Gets the value which offsets the marker horizontally from the center.
|
double |
getOffsetY()
Gets the value which offsets the marker vertically from the center.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setClipAtBoundary(boolean clipAtBoundary)
Sets a value indicating whether the marker should be clipped if it extends pasts the boundary of the polygon.
|
void |
setMethod(PlacementPolygonCenterMethod method)
Sets the method used to determine the polygon center.
|
void |
setOffsetX(double offsetX)
Sets the value which offsets the marker horizontally from the center.
|
void |
setOffsetY(double offsetY)
Sets the value which offsets the marker vertically from the center.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getPlacePerPart, getPrimitiveName, setPlacePerPart, setPrimitiveNamepublic PlacementPolygonCenterMethod getMethod()
public void setMethod(PlacementPolygonCenterMethod method)
public double getOffsetX()
public void setOffsetX(double offsetX)
public double getOffsetY()
public void setOffsetY(double offsetY)
public boolean getClipAtBoundary()
public void setClipAtBoundary(boolean clipAtBoundary)
public static CIMMarkerPlacementPolygonCenter fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMMarkerFillPlacementCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMMarkerFillPlacement