Increases or decreases the size of a shape by expanding and contracting vertices. Shapes always scale from the relative origin of their bounding box. Scale values are specified as decimal percentages. For example, the method call scale(2.0) increases the dimension of a shape by 200%. Subseque
(float s)
| 3320 | * @see PShape#resetMatrix() |
| 3321 | */ |
| 3322 | public void scale(float s) { |
| 3323 | checkMatrix(2); // at least 2... |
| 3324 | matrix.scale(s); |
| 3325 | } |
| 3326 | |
| 3327 | |
| 3328 | public void scale(float x, float y) { |
nothing calls this directly
no test coverage detected