openharmony 鸿蒙 _r_g_b_color_v10

2025-06-16 浏览 (1)

RGBColor

概述

定义灯的RGB模式。

起始版本: 3.2

相关模块:Light

汇总

Public 属性

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

类成员变量说明

b

int RGBColor::b

描述

蓝色值,范围为0-255。

brightness

int RGBColor::brightness

描述

亮度值,范围为0-255。

g

int RGBColor::g

描述

绿色值,范围为0-255。

r

int RGBColor::r

描述

红色值,范围为0-255。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Light HDI 参考

harmony 鸿蒙HdfLightColor

harmony 鸿蒙HdfLightEffect

harmony 鸿蒙HdfLightFlashEffect

harmony 鸿蒙HdfLightInfo

harmony 鸿蒙ILightInterface.idl

harmony 鸿蒙Light

harmony 鸿蒙LightTypes.idl

harmony 鸿蒙WRGBColor

harmony 鸿蒙ILightInterface

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/vY8zSu