Returns true if the path is convex. If necessary, it will first compute the convexity. @return true or false
()
| 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. |