Skip to main content

PushClip(Rect) Method

Pushes a clip rectangle.

Definition

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

public ImmediateDrawingContext.PushedState PushClip(
Rect clip
)

Parameters

  Rect
The clip rectangle.

Return Value

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

See Also

Reference

ImmediateDrawingContext Class
PushClip Overload
Avalonia.Media Namespace