public class CIMMarkerPlacementAtRatioPositions extends CIMMarkerStrokePlacement
| Constructor and Description |
|---|
CIMMarkerPlacementAtRatioPositions() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMarkerPlacementAtRatioPositions |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
double |
getBeginPosition()
Gets the distance from the beginning of a line that the marker will be placed.
|
double |
getEndPosition()
Gets the distance from the end of a line that the marker will be placed.
|
boolean |
getFlipFirst()
Gets a value indicating whether only the first marker will be rotated 180 degrees.
|
double[] |
getPositionArray()
Gets the array of positions.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setBeginPosition(double beginPosition)
Sets the distance from the beginning of a line that the marker will be placed.
|
void |
setEndPosition(double endPosition)
Sets the distance from the end of a line that the marker will be placed.
|
void |
setFlipFirst(boolean flipFirst)
Sets a value indicating whether only the first marker will be rotated 180 degrees.
|
void |
setPositionArray(double[] positionArray)
Sets the array of positions.
|
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 getBeginPosition()
public void setBeginPosition(double beginPosition)
public double getEndPosition()
public void setEndPosition(double endPosition)
public boolean getFlipFirst()
public void setFlipFirst(boolean flipFirst)
public double[] getPositionArray()
public void setPositionArray(double[] positionArray)
public static CIMMarkerPlacementAtRatioPositions 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