DrawingContextPushClip(Rect) Method

Pushes a clip rectangle.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public DrawingContextPushedState PushClip(
	Rect clip
)

Parameters

clip  Rect
The clip rectangle.

Return Value

DrawingContextPushedState
A disposable used to undo the clip rectangle.

See Also