Returns oval bounds if this path is recognized as an oval or circle. @return bounds is recognized as an oval or circle, null otherwise @see https://fiddle.skia.org/c/@Path_isOval
()
| 381 | * @see <a href="https://fiddle.skia.org/c/@Path_isOval">https://fiddle.skia.org/c/@Path_isOval</a> |
| 382 | */ |
| 383 | @Nullable @Contract(pure = true) |
| 384 | public Rect isOval() { |
| 385 | try { |
| 386 | Stats.onNativeCall(); |
| 387 | return _nIsOval(_ptr); |
| 388 | } finally { |
| 389 | ReferenceUtil.reachabilityFence(this); |
| 390 | } |
| 391 | } |
| 392 | |
| 393 | /** |
| 394 | * Returns {@link RRect} if this path is recognized as an oval, circle or RRect. |