hgeColor Constructors
To create and initalize a hgeColor object you may use one of these constructors:
hgeColor();
hgeColor(
DWORD color
);
hgeColor(
float r,
float g,
float b,
float a
);
hgeColor(
const hgeColor &col
);
Parameters
- color
- Hardware color to intialize hgeColor object with.
- r
- Red value ranging from 0.0 to 1.0.
- g
- Green value ranging from 0.0 to 1.0.
- b
- Blue value ranging from 0.0 to 1.0.
- a
- Alpha value ranging from 0.0 to 1.0.
Requirements
Header: hgecolor.h
See also
Hardware color format
|