MCPcopy Create free account
hub / github.com/JetBrains/skija / isOval

Method isOval

shared/java/Path.java:163–170  ·  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

161 * @see <a href="https://fiddle.skia.org/c/@Path_isOval">https://fiddle.skia.org/c/@Path_isOval</a>
162 */
163 public Rect isOval() {
164 try {
165 Stats.onNativeCall();
166 return _nIsOval(_ptr);
167 } finally {
168 Reference.reachabilityFence(this);
169 }
170 }
171
172 /**
173 * Returns {@link RRect} if this path is recognized as an oval, circle or RRect.

Callers 2

isShapeMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nIsOvalMethod · 0.95

Tested by 1

isShapeMethod · 0.64