public abstract class CIMGraphic extends CIMObject
| Constructor and Description |
|---|
CIMGraphic() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
java.util.HashMap |
getAttributes()
Gets a property set of attributes.
|
BlendingMode |
getBlendingMode()
Gets the blending mode of the graphic.
|
Anchor |
getPlacement()
Gets the placement anchor of the graphic.
|
double |
getReferenceScale()
Gets the reference scale of the graphic.
|
CIMSymbolReference |
getSymbol()
Gets the symbol for the graphic.
|
double |
getTransparency()
Gets the transparency of the graphic as a percentage.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setAttributes(java.util.HashMap attributes)
Sets a property set of attributes.
|
void |
setBlendingMode(BlendingMode blendingMode)
Sets the blending mode of the graphic.
|
void |
setPlacement(Anchor placement)
Sets the placement anchor of the graphic.
|
void |
setReferenceScale(double referenceScale)
Sets the reference scale of the graphic.
|
void |
setSymbol(CIMSymbolReference symbol)
Sets the symbol for the graphic.
|
void |
setTransparency(double transparency)
Sets the transparency of the graphic as a percentage.
|
public CIMSymbolReference getSymbol()
public void setSymbol(CIMSymbolReference symbol)
public double getTransparency()
public void setTransparency(double transparency)
public BlendingMode getBlendingMode()
public void setBlendingMode(BlendingMode blendingMode)
public double getReferenceScale()
public void setReferenceScale(double referenceScale)
public java.util.HashMap getAttributes()
public void setAttributes(java.util.HashMap attributes)
public Anchor getPlacement()
public void setPlacement(Anchor placement)
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMObjectCIMJSONExceptionpublic void serialize(JSONObject jsonObject)