Version: 1.4
LanguageEnglish
  • C#

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.


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