public class CIMSolidStroke extends CIMStroke
| Constructor and Description |
|---|
CIMSolidStroke() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMSolidStroke |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
CIMColor |
getColor()
Gets the color that is applied to the stroke.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setColor(CIMColor color)
Sets the color that is applied to the stroke.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getAnchor3D, getCapStyle, getCloseCaps3D, getHeight3D, getJoinStyle, getLineStyle3D, getMiterLimit, getWidth, setAnchor3D, setCapStyle, setCloseCaps3D, setHeight3D, setJoinStyle, setLineStyle3D, setMiterLimit, setWidthgetAnimations, getColorLocked, getEffects, getEnable, getName, getOverprint, getPrimitiveName, setAnimations, setColorLocked, setEffects, setEnable, setName, setOverprint, setPrimitiveNamepublic CIMColor getColor()
public void setColor(CIMColor color)
public static CIMSolidStroke fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMStrokeCIMJSONExceptionpublic void serialize(JSONObject jsonObject)