Returns true if the path is convex. If necessary, it will first compute the convexity. @return true or false
()
| 364 | * @return true or false |
| 365 | */ |
| 366 | @Contract(pure = true) |
| 367 | public boolean isConvex() { |
| 368 | try { |
| 369 | Stats.onNativeCall(); |
| 370 | return _nIsConvex(_ptr); |
| 371 | } finally { |
| 372 | ReferenceUtil.reachabilityFence(this); |
| 373 | } |
| 374 | } |
| 375 | |
| 376 | /** |
| 377 | * Returns oval bounds if this path is recognized as an oval or circle. |