VisualElement.paddingRect

protected Rect paddingRect;

Description

The rectangle of the padding area of the element, in the local space of the element.

In the box model used by UI Toolkit, the padding area refers to the inner rectangle. The inner rectangle includes the contentRect and padding, but excludes the border.


Did you find this page useful? Please give it a rating: