Version: 1.4
LanguageEnglish
  • C#

VisualElement.layout

public Rect layout;

Description

The position and size of the VisualElement relative to its parent, as computed by the layout system. (Read Only)

Before reading from this property, add it to a panel and wait for one frame to ensure that the element layout is computed. After the layout is computed, a GeometryChangedEvent will be sent on this element.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答