harmony 鸿蒙drawing_mask_filter.h

2025-06-12 浏览 (1)

drawing_mask_filter.h

Overview

The drawing_mask_filter.h file declares the functions related to the mask filter in the drawing module.

File to include: <native_drawing/drawing_mask_filter.h>

Library: libnative_drawing.so

Since: 11

Related module: Drawing

Summary

Types

NameDescription
typedef enum OH_Drawing_BlurType OH_Drawing_BlurTypeDefines an enum for blur types.

Enums

NameDescription
OH_Drawing_BlurType { NORMAL, SOLID, OUTER, INNER }Enumerates the blur types.

Functions

NameDescription
OH_Drawing_MaskFilter * OH_Drawing_MaskFilterCreateBlur (OH_Drawing_BlurType blurType, float sigma, bool respectCTM)Creates an OH_Drawing_MaskFilter object with a blur type.
void OH_Drawing_MaskFilterDestroy (OH_Drawing_MaskFilter *)Destroys an OH_Drawing_MaskFilter object and reclaims the memory occupied by the object.

你可能感兴趣的鸿蒙文章

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/byIc6F