目录

ArkUI_DrawContext

typedef struct ArkUI_DrawContext ArkUI_DrawContext

Overview

Defines component drawing context, which is used to provide drawing context information during the drawing of a custom component. You can obtain the canvas pointer used for drawing and the size of the drawing area.

Since: 12

Related module: ArkUI_NativeModule

Header file: native_type.h