public class CIMMarkerPlacementOnLine extends CIMMarkerStrokePlacement
| Constructor and Description |
|---|
CIMMarkerPlacementOnLine() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMarkerPlacementOnLine |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
PlacementOnLineRelativeTo |
getRelativeTo()
Gets the location on a line where a marker will be placed.
|
double |
getStartPointOffset()
Gets the distances from a specified location on a line that a marker will be placed.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setRelativeTo(PlacementOnLineRelativeTo relativeTo)
Sets the location on a line where a marker will be placed.
|
void |
setStartPointOffset(double startPointOffset)
Sets the distances from a specified location on a line that a 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 PlacementOnLineRelativeTo getRelativeTo()
public void setRelativeTo(PlacementOnLineRelativeTo relativeTo)
public double getStartPointOffset()
public void setStartPointOffset(double startPointOffset)
public static CIMMarkerPlacementOnLine 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