SKRegion.CreateSpanIterator(Int32, Int32, Int32) 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.
Creates an iterator that returns the horizontal spans of the region intersected with the specified line.
public SkiaSharp.SKRegion.SpanIterator CreateSpanIterator(int y, int left, int right);
Parameters
- y
- Int32
The y-coordinate of the horizontal line to iterate.
- left
- Int32
The left bound of the horizontal line.
- right
- Int32
The right bound of the horizontal line.
Returns
A new SKRegion.SpanIterator for iterating over the horizontal spans.