MCPcopy Create free account
hub / github.com/HumbleUI/Skija / addArc

Method addArc

shared/java/PathBuilder.java:973–978  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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) {

Calls 2

onNativeCallMethod · 0.95
_nAddArcMethod · 0.95

Tested by

no test coverage detected