AnchorFields
此内容尚不支持你的语言。
Defined in: ui/layout/anchor.ts:76
The UINode fields a preset resolves to. Always sets position Absolute plus
the two inset + two margin dimensions per axis; width/height appear only
for a Stretch axis (so a non-stretch axis preserves the authored size).
Properties
Section titled “Properties”height?
Section titled “height?”
optionalheight?:Dimension
Defined in: ui/layout/anchor.ts:87
insetBottom
Section titled “insetBottom”insetBottom:
Dimension
Defined in: ui/layout/anchor.ts:81
insetLeft
Section titled “insetLeft”insetLeft:
Dimension
Defined in: ui/layout/anchor.ts:78
insetRight
Section titled “insetRight”insetRight:
Dimension
Defined in: ui/layout/anchor.ts:79
insetTop
Section titled “insetTop”insetTop:
Dimension
Defined in: ui/layout/anchor.ts:80
marginBottom
Section titled “marginBottom”marginBottom:
Dimension
Defined in: ui/layout/anchor.ts:85
marginLeft
Section titled “marginLeft”marginLeft:
Dimension
Defined in: ui/layout/anchor.ts:82
marginRight
Section titled “marginRight”marginRight:
Dimension
Defined in: ui/layout/anchor.ts:83
marginTop
Section titled “marginTop”marginTop:
Dimension
Defined in: ui/layout/anchor.ts:84
position
Section titled “position”position:
number
Defined in: ui/layout/anchor.ts:77
width?
Section titled “width?”
optionalwidth?:Dimension
Defined in: ui/layout/anchor.ts:86