( begin auto-generated from PShape_rotate.xml ) Rotates a shape the amount specified by the angle parameter. Angles should be specified in radians (values from 0 to TWO_PI) or converted to radians with the radians() method. Shapes are always rotated around the upper-left
(float angle)
| 3180 | * @see PShape#resetMatrix() |
| 3181 | */ |
| 3182 | public void rotate(float angle) { |
| 3183 | checkMatrix(2); // at least 2... |
| 3184 | matrix.rotate(angle); |
| 3185 | } |
| 3186 | |
| 3187 | /** |
| 3188 | * @nowebref |