public static class Draw.Ellipse extends DrawCommand
Constructor and Description |
---|
Ellipse(float x,
float y,
float w,
float h)
Create the ellipse 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 Ellipse(float x, float y, float w, float h)
x
- the x-coordinate of the centery
- the y-coordinate of the centerw
- the length of the horizontal axish
- the length of the vertical axispublic 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