( begin auto-generated from rect.xml ) Draws a rectangle to the screen. A rectangle is a four-sided shape with every angle at ninety degrees. By default, the first two parameters set the location of the upper-left corner, the third sets the width, and the fourth sets the height. These parameters ma
(float a, float b, float c, float d)
| 12139 | * @see PGraphics#quad(float, float, float, float, float, float, float, float) |
| 12140 | */ |
| 12141 | public void rect(float a, float b, float c, float d) { |
| 12142 | if (recorder != null) recorder.rect(a, b, c, d); |
| 12143 | g.rect(a, b, c, d); |
| 12144 | } |
| 12145 | |
| 12146 | |
| 12147 | /** |