MCPcopy Create free account
hub / github.com/HumbleUI/Skija / isOval

Method isOval

shared/java/Path.java:383–391  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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.

Callers 2

isShapeMethod · 0.80

Calls 3

onNativeCallMethod · 0.95
_nIsOvalMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 1

isShapeMethod · 0.64