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

Method offset

shared/java/PathBuilder.java:1376–1381  ·  view source on GitHub ↗

Offsets all points in the builder by (dx, dy). @param dx x-axis offset @param dy y-axis offset @return reference to PathBuilder

(float dx, float dy)

Source from the content-addressed store, hash-verified

1374 * @return reference to PathBuilder
1375 */
1376 @NotNull @Contract("_, _ -> this")
1377 public PathBuilder offset(float dx, float dy) {
1378 Stats.onNativeCall();
1379 _nOffset(_ptr, dx, dy);
1380 return this;
1381 }
1382
1383 /**
1384 * Offsets all points in the builder.

Callers 9

drawByWordsMethod · 0.80
drawLineMethod · 0.80
drawParagraphMethod · 0.80
drawMethod · 0.80
drawBlurMethod · 0.80
drawTransformsMethod · 0.80
drawMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nOffsetMethod · 0.95

Tested by

no test coverage detected