public class CIMMarkerPlacementAlongLineVariableSize extends CIMMarkerStrokePlacement
| Constructor and Description |
|---|
CIMMarkerPlacementAlongLineVariableSize() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMarkerPlacementAlongLineVariableSize |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
SimplePlacementEndings |
getControlPointPlacement()
Gets how markers are placed at control points.
|
SimplePlacementEndings |
getEndings()
Gets how markers are placed at the end points of a line.
|
double |
getMaxRandomOffset()
Gets the maximum random offset.
|
double |
getMaxZoom()
Gets the largest size of the marker to be placed on the line.
|
double |
getMinZoom()
Gets the smallest size of the marker to be placed on the line.
|
int |
getNumberOfSizes()
Gets the number of different sizes of markers to be placed on the line.
|
double[] |
getPlacementTemplate()
Gets the numeric pattern that defines the sequence of placed markers and the length of space between them.
|
int |
getSeed()
Gets the starting value for generating a random number.
|
SizeVariationMethod |
getVariationMethod()
Gets the order in which the change of size in the markers should occur.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setControlPointPlacement(SimplePlacementEndings controlPointPlacement)
Sets how markers are placed at control points.
|
void |
setEndings(SimplePlacementEndings endings)
Sets how markers are placed at the end points of a line.
|
void |
setMaxRandomOffset(double maxRandomOffset)
Sets the maximum random offset.
|
void |
setMaxZoom(double maxZoom)
Sets the largest size of the marker to be placed on the line.
|
void |
setMinZoom(double minZoom)
Sets the smallest size of the marker to be placed on the line.
|
void |
setNumberOfSizes(int numberOfSizes)
Sets the number of different sizes of markers to be placed on the line.
|
void |
setPlacementTemplate(double[] placementTemplate)
Sets the numeric pattern that defines the sequence of placed markers and the length of space between them.
|
void |
setSeed(int seed)
Sets the starting value for generating a random number.
|
void |
setVariationMethod(SizeVariationMethod variationMethod)
Sets the order in which the change of size in the markers should occur.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getAngleToLine, getKeepUpright, getOffset, setAngleToLine, setKeepUpright, setOffsetgetPlacePerPart, getPrimitiveName, setPlacePerPart, setPrimitiveNamepublic CIMMarkerPlacementAlongLineVariableSize()
public double[] getPlacementTemplate()
public void setPlacementTemplate(double[] placementTemplate)
public SimplePlacementEndings getEndings()
public void setEndings(SimplePlacementEndings endings)
public SimplePlacementEndings getControlPointPlacement()
public void setControlPointPlacement(SimplePlacementEndings controlPointPlacement)
public double getMaxRandomOffset()
public void setMaxRandomOffset(double maxRandomOffset)
public double getMaxZoom()
public void setMaxZoom(double maxZoom)
public double getMinZoom()
public void setMinZoom(double minZoom)
public int getNumberOfSizes()
public void setNumberOfSizes(int numberOfSizes)
public int getSeed()
public void setSeed(int seed)
public SizeVariationMethod getVariationMethod()
public void setVariationMethod(SizeVariationMethod variationMethod)
public static CIMMarkerPlacementAlongLineVariableSize 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