Skip to main content

PushClip(Rect) Method

Pushes a clip rectangle.

Definition​

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public DrawingContext.PushedState PushClip(
Rect clip
)

Parameters​

  Rect
The clip rectangle.

Return Value​

DrawingContext.PushedState
A disposable used to undo the clip rectangle.

See Also​

Reference​

DrawingContext Class
PushClip Overload
Avalonia.Media Namespace