# ArkUI_Margin ## 概述 外边距属性,用于描述组件的外边距属性。 **起始版本:** 12。 **相关模块:**[ArkUI_NativeModule](_ark_u_i___native_module.md) ## 汇总 ### 成员变量 | 名称 | 描述 | | -------- | -------- | | float [top](#top) | 上外边距,单位为vp。 | | float [right](#right) | 右外边距,单位为vp。 | | float [bottom](#bottom) | 下外边距,单位为vp。 | | float [left](#left) | 左外边距,单位为vp。 | ## 结构体成员变量说明 ### bottom ``` float ArkUI_Margin::bottom ``` **描述:** 下外边距,单位为vp。 ### left ``` float ArkUI_Margin::left ``` **描述:** 左外边距,单位为vp。 ### right ``` float ArkUI_Margin::right ``` **描述:** 右外边距,单位为vp。 ### top ``` float ArkUI_Margin::top ``` **描述:** 上外边距,单位为vp。