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

Method isConvex

shared/java/Path.java:366–374  ·  view source on GitHub ↗

Returns true if the path is convex. If necessary, it will first compute the convexity. @return true or false

()

Source from the content-addressed store, hash-verified

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.

Callers 2

convexityMethod · 0.80

Calls 3

onNativeCallMethod · 0.95
_nIsConvexMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 1

convexityMethod · 0.64