public class CIMWaterFill extends CIMFill
| Constructor and Description |
|---|
CIMWaterFill() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMWaterFill |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
CIMColor |
getColor()
Gets the intrinsic color of the water.
|
WaterbodySize |
getWaterbodySize()
Gets the waterbody size allowing for a range of sizes from small pools to oceans.
|
double |
getWaveDirection()
Gets the azimuthal bearing for direction of the waves.
|
boolean |
getWaveHasDirection()
Gets a value indicating whether the waves are directionless (false), or if they have a dominant direction (true).
|
WaveStrength |
getWaveStrength()
Gets the strength of the waves.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setColor(CIMColor color)
Sets the intrinsic color of the water.
|
void |
setWaterbodySize(WaterbodySize waterbodySize)
Sets the waterbody size allowing for a range of sizes from small pools to oceans.
|
void |
setWaveDirection(double waveDirection)
Sets the azimuthal bearing for direction of the waves.
|
void |
setWaveHasDirection(boolean waveHasDirection)
Sets a value indicating whether the waves are directionless (false), or if they have a dominant direction (true).
|
void |
setWaveStrength(WaveStrength waveStrength)
Sets the strength of the waves.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getAnimations, getColorLocked, getEffects, getEnable, getName, getOverprint, getPrimitiveName, setAnimations, setColorLocked, setEffects, setEnable, setName, setOverprint, setPrimitiveNamepublic CIMColor getColor()
public void setColor(CIMColor color)
public WaveStrength getWaveStrength()
public void setWaveStrength(WaveStrength waveStrength)
public WaterbodySize getWaterbodySize()
public void setWaterbodySize(WaterbodySize waterbodySize)
public boolean getWaveHasDirection()
public void setWaveHasDirection(boolean waveHasDirection)
public double getWaveDirection()
public void setWaveDirection(double waveDirection)
public static CIMWaterFill fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMFillCIMJSONExceptionpublic void serialize(JSONObject jsonObject)