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

Method arcTo

shared/java/PathBuilder.java:841–846  ·  view source on GitHub ↗

Appends arc to PathBuilder. Arc added is part of ellipse bounded by oval, from startAngle through sweepAngle. Both startAngle and sweepAngle are measured in degrees, where zero degrees is aligned with the positive x-axis, and positive sweeps extends arc clockwise. arcTo() adds line connec

(@NotNull Rect oval, float startAngle, float sweepAngle, boolean forceMoveTo)

Source from the content-addressed store, hash-verified

839 * @return reference to PathBuilder
840 */
841 @NotNull @Contract("_, _, _, _ -> this")
842 public PathBuilder arcTo(@NotNull Rect oval, float startAngle, float sweepAngle, boolean forceMoveTo) {
843 Stats.onNativeCall();
844 _nArcTo(_ptr, oval._left, oval._top, oval._right, oval._bottom, startAngle, sweepAngle, forceMoveTo);
845 return this;
846 }
847
848 /**
849 * <p>Appends arc to PathBuilder, after appending line if needed. Arc is implemented by conic

Calls 2

onNativeCallMethod · 0.95
_nArcToMethod · 0.95

Tested by

no test coverage detected