harmony 鸿蒙ColorValue

  • 2025-06-16
  • 浏览 (7)

ColorValue

概述

定义灯的颜色模式。

参数包括RGB模式和WRGB模式。

起始版本: 3.2

相关模块:Light

汇总

Public 属性

名称 描述
struct WRGBColor wrgbColor WRGB模式, 详见WRGBColor
struct RGBColor rgbColor RGB模式, 详见RGBColor

类成员变量说明

rgbColor

struct RGBColor ColorValue::rgbColor

描述

RGB模式, 详见RGBColor

wrgbColor

struct WRGBColor ColorValue::wrgbColor

描述

WRGB模式, 详见WRGBColor

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Light HDI 参考

harmony 鸿蒙HdfLightColor

harmony 鸿蒙HdfLightEffect

harmony 鸿蒙HdfLightFlashEffect

harmony 鸿蒙HdfLightInfo

harmony 鸿蒙ILightInterface.idl

harmony 鸿蒙Light

harmony 鸿蒙LightTypes.idl

harmony 鸿蒙RGBColor

harmony 鸿蒙WRGBColor

0  赞