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