harmony 鸿蒙drawing_color.h

2025-06-12 浏览 (1)

drawing_color.h

Overview

The drawing_color.h file declares the functions related to the color in the drawing module.

File to include: <native_drawing/drawing_color.h>

Library: libnative_drawing.so

Since: 8

Related module: Drawing

Summary

Functions

NameDescription
uint32_t OH_Drawing_ColorSetArgb (uint32_t alpha, uint32_t red, uint32_t green, uint32_t blue)Converts four variables (alpha, red, green, and blue) into a 32-bit (ARGB) variable that describes a color.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkGraphics 2D

harmony 鸿蒙BufferHandle

harmony 鸿蒙ColorSpacePrimaries

harmony 鸿蒙DisplaySoloist_ExpectedRateRange

harmony 鸿蒙_drawing

harmony 鸿蒙NativeColorSpaceManager

harmony 鸿蒙NativeDisplaySoloist

harmony 鸿蒙NativeVsync

harmony 鸿蒙NativeWindow

harmony 鸿蒙OH_Drawing_BitmapFormat

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