( begin auto-generated from PShape_translate.xml ) Specifies an amount to displace the shape. 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. Subsequent call
(float x, float y)
| 3039 | * @see PShape#resetMatrix() |
| 3040 | */ |
| 3041 | public void translate(float x, float y) { |
| 3042 | checkMatrix(2); |
| 3043 | matrix.translate(x, y); |
| 3044 | } |
| 3045 | |
| 3046 | /** |
| 3047 | * @param z forward/back translation |
nothing calls this directly
no test coverage detected