SKRegion.QuickContains(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.
Quickly checks if the specified rectangle is completely inside the region.
public bool QuickContains(SkiaSharp.SKRectI rect);
Parameters
- rect
- SKRectI
The rectangle to check.
Returns
true if the rectangle is completely contained; otherwise, false.
Remarks
This is an optimized check that may return false even when the rectangle is contained, but never returns true if the rectangle is not contained.