public class CIMMarkerPlacementAtMeasuredUnits extends CIMMarkerStrokePlacement
| Constructor and Description |
|---|
CIMMarkerPlacementAtMeasuredUnits() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMarkerPlacementAtMeasuredUnits |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
double |
getInterval()
Gets the interval of measured units used to place markers.
|
boolean |
getPlaceAtExtremities()
Gets a value indicating whether markers should be placed at extremities.
|
int |
getSkipMarkerRate()
Gets the rate of markers to skip.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setInterval(double interval)
Sets the interval of measured units used to place markers.
|
void |
setPlaceAtExtremities(boolean placeAtExtremities)
Sets a value indicating whether markers should be placed at extremities.
|
void |
setSkipMarkerRate(int skipMarkerRate)
Sets the rate of markers to skip.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getAngleToLine, getKeepUpright, getOffset, setAngleToLine, setKeepUpright, setOffsetgetPlacePerPart, getPrimitiveName, setPlacePerPart, setPrimitiveNamepublic double getInterval()
public void setInterval(double interval)
public int getSkipMarkerRate()
public void setSkipMarkerRate(int skipMarkerRate)
public boolean getPlaceAtExtremities()
public void setPlaceAtExtremities(boolean placeAtExtremities)
public static CIMMarkerPlacementAtMeasuredUnits 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