Returns Point at index in Point array. Valid range for index is 0 to countPoints() - 1. Returns (0, 0) if index is out of range. @param index Point array element selector @return Point array value or (0, 0) @see https://fiddl
(int index)
| 416 | * @see <a href="https://fiddle.skia.org/c/@Path_getPoint">https://fiddle.skia.org/c/@Path_getPoint</a> |
| 417 | */ |
| 418 | public Point getPoint(int index) { |
| 419 | try { |
| 420 | Stats.onNativeCall(); |
| 421 | return _nGetPoint(_ptr, index); |
| 422 | } finally { |
| 423 | Reference.reachabilityFence(this); |
| 424 | } |
| 425 | } |
| 426 | |
| 427 | /** |
| 428 | * <p>Returns all points in Path.</p> |