PushClip(Rect) Method
Pushes a clip rectangle.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public DrawingContext.PushedState PushClip(
Rect clip
)
Public Function PushClip (
clip As Rect
) As DrawingContext.PushedState
member PushClip :
clip : Rect -> DrawingContext.PushedState
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