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

Method rLineTo

shared/java/PathBuilder.java:593–598  ·  view source on GitHub ↗

Adds line from last point to vector (dx, dy). If PathBuilder is empty, or last PathVerb is PathVerb#CLOSE, last point is set to (0, 0) before adding line. Appends PathVerb#MOVE to verb array and (0, 0) to Point array, if needed; then appends PathVerb#LINE t

(float dx, float dy)

Source from the content-addressed store, hash-verified

591 * @return reference to PathBuilder
592 */
593 @NotNull @Contract("_, _ -> this")
594 public PathBuilder rLineTo(float dx, float dy) {
595 Stats.onNativeCall();
596 _nRLineTo(_ptr, dx, dy);
597 return this;
598 }
599
600 /**
601 * <p>Adds line from last point to vector (dx, dy). If PathBuilder is empty, or last {@link PathVerb} is

Callers 7

FigmaSceneMethod · 0.80
drawPathsMethod · 0.80
ImageFiltersSceneMethod · 0.80
drawLightsMethod · 0.80
drawClipsMethod · 0.80
drawRegionsMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nRLineToMethod · 0.95

Tested by

no test coverage detected