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
(@NotNull Rect rect)
| 790 | * @see <a href="https://fiddle.skia.org/c/@Path_conservativelyContainsRect">https://fiddle.skia.org/c/@Path_conservativelyContainsRect</a> |
| 791 | */ |
| 792 | @Contract(pure = true) |
| 793 | public boolean conservativelyContainsRect(@NotNull Rect rect) { |
| 794 | try { |
| 795 | Stats.onNativeCall(); |
| 796 | return _nConservativelyContainsRect(_ptr, rect._left, rect._top, rect._right, rect._bottom); |
| 797 | } finally { |
| 798 | ReferenceUtil.reachabilityFence(this); |
| 799 | } |
| 800 | } |
| 801 | |
| 802 | /** |
| 803 | * <p>Approximates conic with quad array. Conic is constructed from start Point p0, |