Appends an arc to the path, as a new contour. Arc is implemented as a portion of an oval. @param oval rectangle bounding the oval @param startAngle starting angle in degrees @param sweepAngle sweep angle in degrees @return reference to PathBuilder
(@NotNull Rect oval, float startAngle, float sweepAngle)
| 971 | * @return reference to PathBuilder |
| 972 | */ |
| 973 | @NotNull @Contract("_, _, _ -> this") |
| 974 | public PathBuilder addArc(@NotNull Rect oval, float startAngle, float sweepAngle) { |
| 975 | Stats.onNativeCall(); |
| 976 | _nAddArc(_ptr, oval._left, oval._top, oval._right, oval._bottom, startAngle, sweepAngle); |
| 977 | return this; |
| 978 | } |
| 979 | |
| 980 | @NotNull @Contract("_, _, _, _ -> this") |
| 981 | public PathBuilder addLine(float x1, float y1, float x2, float y2) { |
no test coverage detected