OHOS::Color
Overview
Related Modules:
Description:
Converts colors in different formats and defines common colors.
Since:
1.0
Version:
1.0
Summary
Static Public Member Functions
GetMixColor (ColorType c1, ColorType c2, uint8_t mix) |
static ColorType Mixes two colors (color 1 and color 2) based on a specified opacity. |
GetColorFromRGB (uint8_t r8, uint8_t g8, uint8_t b8) |
static ColorType |
GetColorFromRGBA (uint8_t r8, uint8_t g8, uint8_t b8, uint8_t alpha) |
static ColorType |
Converts color data with the 16-bit color depth into the RGBA8888 format. |
|
Converts color data from the RGBA8888 format into the RGB565 format. |
|
White () |
static ColorType |
Silver () |
static ColorType |
Gray () |
static ColorType |
Black () |
static ColorType |
Red () |
static ColorType |
Maroon () |
static ColorType |
Yellow () |
static ColorType |
Olive () |
static ColorType |
Lime () |
static ColorType |
Green () |
static ColorType |
Cyan () |
static ColorType |
Aqua () |
static ColorType |
Teal () |
static ColorType |
Blue () |
static ColorType |
Navy () |
static ColorType |
Magenta () |
static ColorType |
Purple () |
static ColorType |
Orange () |
static ColorType |
Additional Inherited Members
operator new (size_t size) |
|
operator delete (void *p) |