SKRegion.SetRects(ReadOnlySpan<SKRectI>) 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.
Sets the region to the union of the specified rectangles.
public bool SetRects(ReadOnlySpan<SkiaSharp.SKRectI> rects);
Parameters
- rects
- ReadOnlySpan<SKRectI>
The span of rectangles to set the region to.
Returns
true if the resulting region is non-empty; otherwise, false.