DrawingContext.

PushClip(Rect) Method

Summary

Pushes a clip rectangle.
Namespace
Avalonia.Media
Containing Type
DrawingContext

Syntax

public DrawingContext.PushedState PushClip(Rect clip)

Parameters

Name Type Description
clip Rect The clip rectangle.

Return Value

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