目录

ArkUI_Margin

typedef struct {...} ArkUI_Margin

Overview

Describes the margins of a component. This struct defines the blank area between the component boundary and the parent container or an adjacent component, affecting the actual occupied space and position of the component in the layout.

Since: 12

Related module: ArkUI_NativeModule

Header file: water_flow.h

Summary

[h2]Member Variables

Name Description
float top Top margin, in vp.
float right Right margin, in vp.
float bottom Bottom margin, in vp.
float left Left margin, in vp.