public class CIMMarkerPlacementAtExtremities extends CIMMarkerStrokePlacement
| Constructor and Description |
|---|
CIMMarkerPlacementAtExtremities() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMarkerPlacementAtExtremities |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
ExtremityPlacement |
getExtremityPlacement()
Gets which ends of the line a marker will be placed.
|
double |
getOffsetAlongLine()
Gets the distance from the ends of a line that the marker will be placed.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setExtremityPlacement(ExtremityPlacement extremityPlacement)
Sets which ends of the line a marker will be placed.
|
void |
setOffsetAlongLine(double offsetAlongLine)
Sets the distance from the ends of a line that the marker will be placed.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getAngleToLine, getKeepUpright, getOffset, setAngleToLine, setKeepUpright, setOffsetgetPlacePerPart, getPrimitiveName, setPlacePerPart, setPrimitiveNamepublic ExtremityPlacement getExtremityPlacement()
public void setExtremityPlacement(ExtremityPlacement extremityPlacement)
public double getOffsetAlongLine()
public void setOffsetAlongLine(double offsetAlongLine)
public static CIMMarkerPlacementAtExtremities fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMMarkerStrokePlacementCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMMarkerStrokePlacement