PeachDrawing.Core

PeachDrawing.Core.Canvas

Canvas.PushClip Method

Overloads  
PushClip(GraphicsPath) Push the clipping region of this Graphics to intersection of the current clip and the given (possibly non-rectangular) path. Used for SVG clip-path, where the clip region isn’t necessarily axis-aligned.
PushClip(Rect) Push the clipping region of this Graphics to interception of current clipping rectangle and the given rectangle.

Canvas.PushClip(GraphicsPath) Method

Push the clipping region of this Graphics to intersection of the current clip and the given (possibly non-rectangular) path. Used for SVG clip-path, where the clip region isn’t necessarily axis-aligned.

public abstract void PushClip(PeachDrawing.Core.GraphicsPath path);

Parameters

path GraphicsPath

Path to clip to.

Canvas.PushClip(Rect) Method

Push the clipping region of this Graphics to interception of current clipping rectangle and the given rectangle.

public abstract void PushClip(PeachDrawing.Core.Rect rect);

Parameters

rect Rect

Rectangle to clip to.