CdrColor

Inheritance: java.lang.Object

public class CdrColor

The cdr color

Constructors

ConstructorDescription
CdrColor()

Methods

MethodDescription
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:

ParameterTypeDescription
valueintthe 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:

ParameterTypeDescription
valueintthe 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:

ParameterTypeDescription
valueintthe 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:

ParameterTypeDescription
valuebytethe opacity.