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
Enums
Name | Description |
---|---|
OH_Drawing_BlurType { NORMAL, SOLID, OUTER, INNER } |
Enumerates the blur types. |
Functions
Name | Description |
---|---|
OH_Drawing_MaskFilter * OH_Drawing_MaskFilterCreateBlur (OH_Drawing_BlurType blurType, float sigma, bool respectCTM) | Creates an OH_Drawing_MaskFilter object with a given blur type. |
void OH_Drawing_MaskFilterDestroy (OH_Drawing_MaskFilter *) | Destroys an OH_Drawing_MaskFilter object and reclaims the memory occupied by the object. |