MCPcopy Index your code
hub / github.com/processing/processing / translate

Method translate

core/src/processing/core/PApplet.java:13482–13485  ·  view source on GitHub ↗

( begin auto-generated from translate.xml ) Specifies an amount to displace objects within the display window. The x parameter specifies left/right translation, the y parameter specifies up/down translation, and the z parameter specifies translations toward/away from the screen

(float x, float y)

Source from the content-addressed store, hash-verified

13480 * @see PGraphics#scale(float, float, float)
13481 */
13482 public void translate(float x, float y) {
13483 if (recorder != null) recorder.translate(x, y);
13484 g.translate(x, y);
13485 }
13486
13487
13488 /**

Callers

nothing calls this directly

Calls 1

translateMethod · 0.65

Tested by

no test coverage detected