public class CIMPictureStroke extends CIMStroke
| Constructor and Description |
|---|
CIMPictureStroke() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMPictureStroke |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
CIMColorSubstitution[] |
getColorSubstitutions()
Gets the color substitutions for the picture.
|
TextureFilter |
getTextureFilter()
Gets how the image is resampled.
|
CIMColor |
getTintColor()
Gets the color that is applied as a tint to the image.
|
java.lang.String |
getURL()
Gets the image that is used in the symbol layer.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setColorSubstitutions(CIMColorSubstitution[] colorSubstitutions)
Sets the color substitutions for the picture.
|
void |
setTextureFilter(TextureFilter textureFilter)
Sets how the image is resampled.
|
void |
setTintColor(CIMColor tintColor)
Sets the color that is applied as a tint to the image.
|
void |
setURL(java.lang.String uRL)
Sets the image that is used in the symbol layer.
|
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 CIMColorSubstitution[] getColorSubstitutions()
public void setColorSubstitutions(CIMColorSubstitution[] colorSubstitutions)
public TextureFilter getTextureFilter()
public void setTextureFilter(TextureFilter textureFilter)
public java.lang.String getURL()
public void setURL(java.lang.String uRL)
public CIMColor getTintColor()
public void setTintColor(CIMColor tintColor)
public static CIMPictureStroke 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)