AnchorAxis
此内容尚不支持你的语言。
Defined in: ui/layout/anchor.ts:25
Per-axis anchor mode (a preset is one of these per axis).
Enumeration Members
Section titled “Enumeration Members”Center
Section titled “Center”Center:
1
Defined in: ui/layout/anchor.ts:29
Centre via auto margins on both edges.
End:
2
Defined in: ui/layout/anchor.ts:31
Pin the far edge (right / bottom).
Start:
0
Defined in: ui/layout/anchor.ts:27
Pin the near edge (left / top).
Stretch
Section titled “Stretch”Stretch:
3
Defined in: ui/layout/anchor.ts:33
Pin both edges; the size becomes auto so the insets drive it.