public class CIMRandomHSVColorRamp extends CIMColorRamp
| Constructor and Description |
|---|
CIMRandomHSVColorRamp() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMRandomHSVColorRamp |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
float |
getMaxAlpha()
Gets the maximum alpha or transparency for all of the colors.
|
float |
getMaxH()
Gets the hue at which the color ramp (also known as a color scheme) will end.
|
float |
getMaxS()
Gets the maximum saturation possible for the colors within the color ramp (also known as a color scheme).
|
float |
getMaxV()
Gets the maximum value possible for the colors within the color ramp (also known as a color scheme).
|
float |
getMinAlpha()
Gets the minimum alpha or transparency for all of the colors.
|
float |
getMinH()
Gets the hue from which the color ramp (also known as a color scheme) will start.
|
float |
getMinS()
Gets the minimum saturation possible for the colors within the color ramp (also known as a color scheme).
|
float |
getMinV()
Gets the minimum value possible for the colors within the ramp (also known as a scheme).
|
int |
getSeed()
Gets the starting point for the random generation of the colors.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setMaxAlpha(float maxAlpha)
Sets the maximum alpha or transparency for all of the colors.
|
void |
setMaxH(float maxH)
Sets the hue at which the color ramp (also known as a color scheme) will end.
|
void |
setMaxS(float maxS)
Sets the maximum saturation possible for the colors within the color ramp (also known as a color scheme).
|
void |
setMaxV(float maxV)
Sets the maximum value possible for the colors within the color ramp (also known as a color scheme).
|
void |
setMinAlpha(float minAlpha)
Sets the minimum alpha or transparency for all of the colors.
|
void |
setMinH(float minH)
Sets the hue from which the color ramp (also known as a color scheme) will start.
|
void |
setMinS(float minS)
Sets the minimum saturation possible for the colors within the color ramp (also known as a color scheme).
|
void |
setMinV(float minV)
Sets the minimum value possible for the colors within the ramp (also known as a scheme).
|
void |
setSeed(int seed)
Sets the starting point for the random generation of the colors.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getColorSpace, setColorSpacepublic float getMinH()
public void setMinH(float minH)
public float getMaxH()
public void setMaxH(float maxH)
public float getMinS()
public void setMinS(float minS)
public float getMaxS()
public void setMaxS(float maxS)
public float getMinV()
public void setMinV(float minV)
public float getMaxV()
public void setMaxV(float maxV)
public float getMinAlpha()
public void setMinAlpha(float minAlpha)
public float getMaxAlpha()
public void setMaxAlpha(float maxAlpha)
public int getSeed()
public void setSeed(int seed)
public static CIMRandomHSVColorRamp fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMColorRampCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMColorRamp