public class CIMGeometricEffectOffsetTangent extends CIMGeometricEffect
| Constructor and Description |
|---|
CIMGeometricEffectOffsetTangent() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMGeometricEffectOffsetTangent |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
GeometricEffectOffsetTangentMethod |
getMethod()
Gets the origin of the tangent offset for the line.
|
double |
getOffset()
Gets the distance the geometry is moved tangent.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setMethod(GeometricEffectOffsetTangentMethod method)
Sets the origin of the tangent offset for the line.
|
void |
setOffset(double offset)
Sets the distance the geometry is moved tangent.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getPrimitiveName, setPrimitiveNamepublic GeometricEffectOffsetTangentMethod getMethod()
public void setMethod(GeometricEffectOffsetTangentMethod method)
public double getOffset()
public void setOffset(double offset)
public static CIMGeometricEffectOffsetTangent 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