public class CIMMarkerPlacementAlongLineRandomSize extends CIMMarkerPlacementAlongLine
| Constructor and Description |
|---|
CIMMarkerPlacementAlongLineRandomSize() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMarkerPlacementAlongLineRandomSize |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
PlacementRandomlyAlongLineRandomization |
getRandomization()
Gets the amount of randomness to be used for the size and rotation of the markers on the line.
|
int |
getSeed()
Gets the starting value for generating a random number.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setRandomization(PlacementRandomlyAlongLineRandomization randomization)
Sets the amount of randomness to be used for the size and rotation of the markers on the line.
|
void |
setSeed(int seed)
Sets the starting value for generating a random number.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getCustomEndingOffset, getEndings, getOffsetAlongLine, getPlacementTemplate, setCustomEndingOffset, setEndings, setOffsetAlongLine, setPlacementTemplategetAngleToLine, getKeepUpright, getOffset, setAngleToLine, setKeepUpright, setOffsetgetPlacePerPart, getPrimitiveName, setPlacePerPart, setPrimitiveNamepublic CIMMarkerPlacementAlongLineRandomSize()
public PlacementRandomlyAlongLineRandomization getRandomization()
public void setRandomization(PlacementRandomlyAlongLineRandomization randomization)
public int getSeed()
public void setSeed(int seed)
public static CIMMarkerPlacementAlongLineRandomSize fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMMarkerPlacementAlongLineCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMMarkerPlacementAlongLine