public class CIMMaplexOffsetAlongLineProperties extends CIMObject
| Constructor and Description |
|---|
CIMMaplexOffsetAlongLineProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMaplexOffsetAlongLineProperties |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
double |
getDistance()
Gets the distance along the line.
|
MaplexUnit |
getDistanceUnit()
Gets the distance unit.
|
MaplexLabelAnchorPoint |
getLabelAnchorPoint()
Gets the label anchor point for positioning along the line.
|
MaplexOffsetAlongLineMethod |
getPlacementMethod()
Gets the placement method.
|
double |
getTolerance()
Gets the tolerance.
|
boolean |
getUseLineDirection()
Gets a value indicating whether or not to use the line direction.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setDistance(double distance)
Sets the distance along the line.
|
void |
setDistanceUnit(MaplexUnit distanceUnit)
Sets the distance unit.
|
void |
setLabelAnchorPoint(MaplexLabelAnchorPoint labelAnchorPoint)
Sets the label anchor point for positioning along the line.
|
void |
setPlacementMethod(MaplexOffsetAlongLineMethod placementMethod)
Sets the placement method.
|
void |
setTolerance(double tolerance)
Sets the tolerance.
|
void |
setUseLineDirection(boolean useLineDirection)
Sets a value indicating whether or not to use the line direction.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public MaplexOffsetAlongLineMethod getPlacementMethod()
public void setPlacementMethod(MaplexOffsetAlongLineMethod placementMethod)
public MaplexLabelAnchorPoint getLabelAnchorPoint()
public void setLabelAnchorPoint(MaplexLabelAnchorPoint labelAnchorPoint)
public double getDistance()
public void setDistance(double distance)
public double getTolerance()
public void setTolerance(double tolerance)
public MaplexUnit getDistanceUnit()
public void setDistanceUnit(MaplexUnit distanceUnit)
public boolean getUseLineDirection()
public void setUseLineDirection(boolean useLineDirection)
public static CIMMaplexOffsetAlongLineProperties fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMObjectCIMJSONExceptionpublic void serialize(JSONObject jsonObject)