harmony 鸿蒙WRGBColor

  • 2022-10-28
  • 浏览 (383)

WRGBColor

概述

定义灯的WRGB模式。

Since: 3.2 Version: 1.0 相关模块:

Light

汇总

Public 属性

名称 描述
w int
白色值,范围为0-255。 
r int
红色值,范围为0-255。 
g int
绿色值,范围为0-255。 
b int
蓝色值,范围为0-255。 

类成员变量说明

b

int WRGBColor::b

描述: 蓝色值,范围为0-255。

g

int WRGBColor::g

描述: 绿色值,范围为0-255。

r

int WRGBColor::r

描述: 红色值,范围为0-255。

w

int WRGBColor::w

描述: 白色值,范围为0-255。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙HDI 参数参考

harmony 鸿蒙ActRecognitionEvent

harmony 鸿蒙Activation

harmony 鸿蒙ActivityRecognitionTypes.idl

harmony 鸿蒙AddFusion

harmony 鸿蒙Alignment

harmony 鸿蒙AllocInfo

harmony 鸿蒙ApduSimIORequestInfo

harmony 鸿蒙ArgMaxFusion

harmony 鸿蒙Audio

0  赞