ArkUI_Margin

typedef struct {...} ArkUI_Margin

Overview

Describes the margins of a component.

Since: 12

Related module: ArkUI_NativeModule

Header file: native_type.h

Summary

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.