Appends PathVerb#CLOSE to PathBuilder. A closed contour connects the first and last Point with line, forming a continuous loop. Open and closed contour draw the same with PaintMode#FILL. With PaintMode#STROKE, open contour draws PaintStrokeCap at contour start and
()
| 505 | * @return reference to PathBuilder |
| 506 | */ |
| 507 | @NotNull @Contract("-> this") |
| 508 | public PathBuilder closePath() { |
| 509 | Stats.onNativeCall(); |
| 510 | _nClosePath(_ptr); |
| 511 | return this; |
| 512 | } |
| 513 | |
| 514 | /** |
| 515 | * Append a series of {@link #lineTo(float, float)} |