public class CIMGeometricEffectExtension extends CIMGeometricEffect
| Constructor and Description |
|---|
CIMGeometricEffectExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMGeometricEffectExtension |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
double |
getDeflection()
Gets the deflection angle used for the extension.
|
double |
getLength()
Gets the length of the extension that is dynamically created.
|
GeometricEffectExtensionOrigin |
getOrigin()
Gets the origin of the extension to add to the line.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setDeflection(double deflection)
Sets the deflection angle used for the extension.
|
void |
setLength(double length)
Sets the length of the extension that is dynamically created.
|
void |
setOrigin(GeometricEffectExtensionOrigin origin)
Sets the origin of the extension to add to the line.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getPrimitiveName, setPrimitiveNamepublic double getDeflection()
public void setDeflection(double deflection)
public GeometricEffectExtensionOrigin getOrigin()
public void setOrigin(GeometricEffectExtensionOrigin origin)
public double getLength()
public void setLength(double length)
public static CIMGeometricEffectExtension 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