CdrColor
Contents
[
Hide
]Inheritance: java.lang.Object
public class CdrColor
The cdr color
Constructors
Constructor | Description |
---|---|
CdrColor() |
Methods
Method | Description |
---|---|
getColorModel() | Gets the color model. |
setColorModel(int value) | Sets the color model. |
getColorValue() | Gets the color value. |
setColorValue(int value) | Sets the color value. |
getRgbColorValue() | Gets the RGB color value. |
setRgbColorValue(int value) | Sets the RGB color value. |
getOpacity() | Gets the opacity. |
setOpacity(byte value) | Sets the opacity. |
CdrColor()
public CdrColor()
getColorModel()
public final int getColorModel()
Gets the color model.
Returns: int - the color model.
setColorModel(int value)
public final void setColorModel(int value)
Sets the color model.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the color model. |
getColorValue()
public final int getColorValue()
Gets the color value.
Returns: int - the color value.
setColorValue(int value)
public final void setColorValue(int value)
Sets the color value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the color value. |
getRgbColorValue()
public final int getRgbColorValue()
Gets the RGB color value.
Returns: int - the RGB color value.
setRgbColorValue(int value)
public final void setRgbColorValue(int value)
Sets the RGB color value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the RGB color value. |
getOpacity()
public final byte getOpacity()
Gets the opacity.
Returns: byte - the opacity.
setOpacity(byte value)
public final void setOpacity(byte value)
Sets the opacity.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte | the opacity. |