public static class Draw.Rotate extends DrawCommand
Constructor and Description |
---|
Rotate(float theta)
Create the rotate command.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(processing.core.PApplet parent)
Does the actual drawing of the shape/line/etc.
|
draw, setParent
public Rotate(float theta)
theta
- the amount to turn by in radians.public void draw(processing.core.PApplet parent)
DrawCommand
draw
in class DrawCommand
parent
- the PApplet to draw toProcessing Library loom by Cora Johnson-Roberson. (c) 2014-2016