public abstract class CIMMarkerPlacementAlongLine extends CIMMarkerStrokePlacement
| Constructor and Description |
|---|
CIMMarkerPlacementAlongLine() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
double |
getCustomEndingOffset()
Gets where the pattern should end relative to the ending point of the geometry.
|
PlacementEndings |
getEndings()
Gets how markers are placed at the end points of a line.
|
double |
getOffsetAlongLine()
Gets where the pattern should begin relative to the starting point of the geometry.
|
double[] |
getPlacementTemplate()
Gets the numeric pattern that defines the sequence of placed markers and the length of space between them.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setCustomEndingOffset(double customEndingOffset)
Sets where the pattern should end relative to the ending point of the geometry.
|
void |
setEndings(PlacementEndings endings)
Sets how markers are placed at the end points of a line.
|
void |
setOffsetAlongLine(double offsetAlongLine)
Sets where the pattern should begin relative to the starting point of the geometry.
|
void |
setPlacementTemplate(double[] placementTemplate)
Sets the numeric pattern that defines the sequence of placed markers and the length of space between them.
|
getAngleToLine, getKeepUpright, getOffset, setAngleToLine, setKeepUpright, setOffsetgetPlacePerPart, getPrimitiveName, setPlacePerPart, setPrimitiveNamepublic double getCustomEndingOffset()
public void setCustomEndingOffset(double customEndingOffset)
public PlacementEndings getEndings()
public void setEndings(PlacementEndings endings)
public double getOffsetAlongLine()
public void setOffsetAlongLine(double offsetAlongLine)
public double[] getPlacementTemplate()
public void setPlacementTemplate(double[] placementTemplate)
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMMarkerStrokePlacementCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMMarkerStrokePlacement