Returns minimum and maximum axes values of Point array. 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. Rect returned includes all Point added to Path, including Point associated with
()
| 720 | * @return bounds of all Point in Point array |
| 721 | */ |
| 722 | @NotNull @Contract(pure = true) |
| 723 | public Rect getBounds() { |
| 724 | try { |
| 725 | Stats.onNativeCall(); |
| 726 | return _nGetBounds(_ptr); |
| 727 | } finally { |
| 728 | ReferenceUtil.reachabilityFence(this); |
| 729 | } |
| 730 | } |
| 731 | |
| 732 | /** |
| 733 | * <p>Updates internal bounds so that subsequent calls to {@link #getBounds()} are instantaneous. |
no test coverage detected