harmony 鸿蒙ArkUI_Margin

  • 2025-06-12
  • 浏览 (3)

ArkUI_Margin

概述

外边距属性,用于描述组件的外边距属性。

起始版本: 12

相关模块:ArkUI_NativeModule

所在头文件: native_type.h

汇总

成员变量

名称 描述
float top 上外边距,单位为vp。
float right 右外边距,单位为vp。
float bottom 下外边距,单位为vp。
float 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。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkUI(方舟UI框架)

harmony 鸿蒙ARKUI_TextPickerCascadeRangeContent

harmony 鸿蒙ARKUI_TextPickerRangeContent

harmony 鸿蒙ArkUI_AnimateCompleteCallback

harmony 鸿蒙ArkUI_AttributeItem

harmony 鸿蒙ArkUI_ColorStop

harmony 鸿蒙ArkUI_ContextCallback

harmony 鸿蒙ArkUI_EventModule

harmony 鸿蒙ArkUI_ExpectedFrameRateRange

harmony 鸿蒙ArkUI_IntOffset

0  赞