• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ArkUI_Margin
2
3
4## 概述
5
6外边距属性,用于描述组件的外边距属性。
7
8**起始版本:** 12。
9
10**相关模块:**[ArkUI_NativeModule](_ark_u_i___native_module.md)
11
12**所在头文件:** [native_type.h](native__type_8h.md)
13
14## 汇总
15
16
17### 成员变量
18
19| 名称 | 描述 |
20| -------- | -------- |
21| float [top](#top) | 上外边距,单位为vp。  |
22| float [right](#right) | 右外边距,单位为vp。  |
23| float [bottom](#bottom) | 下外边距,单位为vp。  |
24| float [left](#left) | 左外边距,单位为vp。  |
25
26
27## 结构体成员变量说明
28
29
30### bottom
31
32```
33float ArkUI_Margin::bottom
34```
35**描述:**
36
37下外边距,单位为vp。
38
39
40### left
41
42```
43float ArkUI_Margin::left
44```
45**描述:**
46
47左外边距,单位为vp。
48
49
50### right
51
52```
53float ArkUI_Margin::right
54```
55**描述:**
56
57右外边距,单位为vp。
58
59
60### top
61
62```
63float ArkUI_Margin::top
64```
65**描述:**
66
67上外边距,单位为vp。
68