color.h

Overview

Related Modules:

Graphic

Description:

Defines color attributes for the graphics system and implements common color functions.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name

Description

OHOS::Color16

Defines the color attribute when the color depth is 16.

OHOS::Color24

Defines the color attribute when the color depth is 24.

OHOS::Color32

Defines the color attribute when the color depth is 32.

OHOS::Color

Converts colors in different formats and defines common colors.

Enumerations

Enumeration Name

Description

{ OHOS::OPA_TRANSPARENT = 0, OHOS::OPA_OPAQUE = 255 }

Enumerates opacity values.