Edit

SKRegion.SetRects(ReadOnlySpan<SKRectI>) Method

Definition

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.

Applies to