Returns minimum and maximum axes values of the lines and curves in Path. Returns (0, 0, 0, 0) if Path contains no points. Returned bounds width and height may be larger or smaller than area affected when Path is drawn. Includes Point associated with PathVerb#MOVE that define empty
()
| 766 | * @see <a href="https://fiddle.skia.org/c/@Path_computeTightBounds">https://fiddle.skia.org/c/@Path_computeTightBounds</a> |
| 767 | */ |
| 768 | @NotNull @Contract(pure = true) |
| 769 | public Rect computeTightBounds() { |
| 770 | try { |
| 771 | Stats.onNativeCall(); |
| 772 | return _nComputeTightBounds(_ptr); |
| 773 | } finally { |
| 774 | ReferenceUtil.reachabilityFence(this); |
| 775 | } |
| 776 | } |
| 777 | |
| 778 | /** |
| 779 | * <p>Returns true if rect is contained by Path. |
no test coverage detected