SKCanvas.ClipRect(SKRect, SKClipOperation, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Modify the current clip with the specified rectangle.
public void ClipRect (SkiaSharp.SKRect rect, SkiaSharp.SKClipOperation operation = SkiaSharp.SKClipOperation.Intersect, bool antialias = false);
Parameters
- rect
- SKRect
The rectangle to combine with the current clip.
- operation
- SKClipOperation
The clip operator to apply to the current clip.
- antialias
- Boolean
Whether or not the clip should be antialiased.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.