目录

HMS_GCP_Color

概述

定义颜色值的结构体,用于显示全局取色提取的颜色值。

系统能力: SystemCapability.Stylus.ColorPicker

起始版本: 5.0.0(12)

相关模块: GlobalColorPicker

所在头文件: native_gcp_api.h

汇总

[h2]成员变量

名称 描述
int32_t red 红色域。
int32_t green 绿色域。
int32_t blue 蓝色域。
int32_t alpha 透明度。

结构体成员变量说明

[h2]alpha

int32_t HMS_GCP_Color::alpha

描述

透明度。

[h2]blue

int32_t HMS_GCP_Color::blue

描述

蓝色域。

[h2]green

int32_t HMS_GCP_Color::green

描述

绿色域。

[h2]red

int32_t HMS_GCP_Color::red

描述

红色域。