public class CIMMarkerPlacementAroundPolygon extends CIMMarkerFillPlacement
| Constructor and Description |
|---|
CIMMarkerPlacementAroundPolygon() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMarkerPlacementAroundPolygon |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
double |
getOffset()
Gets the offset from the polygon edge.
|
PlacementAroundPolygonPosition |
getPosition()
Gets the position of the marker around the polygon.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setOffset(double offset)
Sets the offset from the polygon edge.
|
void |
setPosition(PlacementAroundPolygonPosition position)
Sets the position of the marker around the polygon.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getPlacePerPart, getPrimitiveName, setPlacePerPart, setPrimitiveNamepublic PlacementAroundPolygonPosition getPosition()
public void setPosition(PlacementAroundPolygonPosition position)
public double getOffset()
public void setOffset(double offset)
public static CIMMarkerPlacementAroundPolygon 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