MCPcopy Create free account
hub / github.com/JetBrains/skija / offset

Method offset

shared/java/Path.java:1618–1620  ·  view source on GitHub ↗

Offsets Point array by (dx, dy). Path is replaced by offset data. @param dx offset added to Point array x-axis coordinates @param dy offset added to Point array y-axis coordinates @return this

(float dx, float dy)

Source from the content-addressed store, hash-verified

1616 * @return this
1617 */
1618 public Path offset(float dx, float dy) {
1619 return offset(dx, dy, null);
1620 }
1621
1622 /**
1623 * Offsets Point array by (dx, dy). Offset Path replaces dst.

Callers 9

drawByWordsMethod · 0.45
drawLineMethod · 0.45
drawParagraphMethod · 0.45
drawBlurMethod · 0.45
drawTransformsMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45

Calls 3

onNativeCallMethod · 0.95
_nOffsetMethod · 0.95
getPtrMethod · 0.95

Tested by

no test coverage detected