conservativelyContainsRect

Returns true if rect is contained by Path. May return false when rect is contained by Path.

For now, only returns true if Path has one contour and is convex. rect may share points and edges with Path and be contained. Returns true if rect is empty, that is, it has zero width or height; and the Point or line described by rect is contained by Path.

Return

true if rect is contained

Parameters

rect

Rect, line, or Point checked for containment

See also