GetLocalRect Method

GetLocalRect(VisualElement)

Get an element's layout rect in local space.

Declaration
public static Rect GetLocalRect(this VisualElement ve)
Parameters
VisualElement ve

The VisualElement.

Returns
Rect

The local layout rect.