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

Method rCubicTo

shared/java/PathBuilder.java:757–762  ·  view source on GitHub ↗

Adds cubic from last point towards vector (dx1, dy1), then towards vector (dx2, dy2), to vector (dx3, dy3). If PathBuilder is empty, or last PathVerb is PathVerb#CLOSE, last point is set to (0, 0) before adding cubic. Appends PathVerb#MOVE to verb array and (0, 0)

(float dx1, float dy1, float dx2, float dy2, float dx3, float dy3)

Source from the content-addressed store, hash-verified

755 * @return reference to PathBuilder
756 */
757 @NotNull @Contract("_, _, _, _, _, _ -> this")
758 public PathBuilder rCubicTo(float dx1, float dy1, float dx2, float dy2, float dx3, float dy3) {
759 Stats.onNativeCall();
760 _nRCubicTo(_ptr, dx1, dy1, dx2, dy2, dx3, dy3);
761 return this;
762 }
763
764 /**
765 * <p>Adds cubic from last point towards vector (dx1, dy1), then towards

Callers 4

FigmaSceneMethod · 0.80
drawPathsMethod · 0.80
drawClipsMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nRCubicToMethod · 0.95

Tested by

no test coverage detected