public class CIMGeometricEffectJog extends CIMGeometricEffect
| Constructor and Description |
|---|
CIMGeometricEffectJog() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMGeometricEffectJog |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
double |
getAngle()
Gets the angle of the jog in the line which is measured in degrees.
|
double |
getLength()
Gets the length of the segment that forms the jog in the line.
|
double |
getPosition()
Gets the location of the center of the jog, as a percentage measured from the start of the input geometry.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setAngle(double angle)
Sets the angle of the jog in the line which is measured in degrees.
|
void |
setLength(double length)
Sets the length of the segment that forms the jog in the line.
|
void |
setPosition(double position)
Sets the location of the center of the jog, as a percentage measured from the start of the input geometry.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getPrimitiveName, setPrimitiveNamepublic double getAngle()
public void setAngle(double angle)
public double getLength()
public void setLength(double length)
public double getPosition()
public void setPosition(double position)
public static CIMGeometricEffectJog fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMGeometricEffectCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMGeometricEffect