跳转到内容

uiAbsoluteMove

此内容尚不支持你的语言。

uiAbsoluteMove(node, box, parent, dx, dy): Partial<UIInsetFields>

Defined in: sdk/src/ui/core/placement.ts:72

The field patch that moves an Absolute node by (dx, dy) layout pixels, y up.

Each set side moves in its own unit (a right anchor stays a right anchor); an all-auto axis is pinned at its near edge. An auto margin holds a centre anchor against the move, so a moving axis sets it to 0.

UIInsetFields

UIRect

UIRect

number

number

Partial<UIInsetFields>