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; an
(Rect rect)
| 619 | * @see <a href="https://fiddle.skia.org/c/@Path_conservativelyContainsRect">https://fiddle.skia.org/c/@Path_conservativelyContainsRect</a> |
| 620 | */ |
| 621 | public boolean conservativelyContainsRect(Rect rect) { |
| 622 | try { |
| 623 | Stats.onNativeCall(); |
| 624 | return _nConservativelyContainsRect(_ptr, rect._left, rect._top, rect._right, rect._bottom); |
| 625 | } finally { |
| 626 | Reference.reachabilityFence(this); |
| 627 | } |
| 628 | } |
| 629 | |
| 630 | /** |
| 631 | * <p>Grows Path verb array and Point array to contain extraPtCount additional Point. |