Experimental: this API is experimental and might be changed or removed in the future.

VisualElement.ClippingOptions.ClipContents

Switch to Manual

Description

Will enable clipping. This VisualElement and its children's content will be limited to this element's bounds.