A DlxColor object stores a value that represents a color. The color value contains four components: alpha, red, green, and blue. The alpha component, specifies the transparency of a color. All four component values range from 0 to 1. An alpha component value of 0 specifies that the color is transparent, and an alpha value of 1 specifies that the color is opaque. Alpha component values greater than zero and less than 1 specify the degree to which the color is blended with the background when the color is rendered. The red, green, and blue color component values range from 0 to 1 and determine the intensity of the color.

Inheritance Hierarchy

Object
    DlxStyle
        DlxColor

Constructor

Name Description
DlxColor Constructs a DlxColor object.

Methods

Name Description
GetAlpha Gets the alpha component.
GetBlue Gets the blue component
GetGreen Gets the green component
GetRed Gets the red component.
SetARGB Sets the color of this DlxColor object.
SetColor Sets the color of this DlxColor object.
SetRGB Sets the color of this DlxColor object.

See also