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

Method isConvex

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

145 * @return true or false
146 */
147 public boolean isConvex() {
148 try {
149 Stats.onNativeCall();
150 return _nIsConvex(_ptr);
151 } finally {
152 Reference.reachabilityFence(this);
153 }
154 }
155
156 /**
157 * Returns oval bounds if this path is recognized as an oval or circle.

Callers 2

convexityMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nIsConvexMethod · 0.95

Tested by 1

convexityMethod · 0.64