( begin auto-generated from square.xml ) Draws a square to the screen. A square is a four-sided shape with every angle at ninety degrees and each side is the same length. By default, the first two parameters set the location of the upper-left corner, the third sets the width and height. The way the
(float x, float y, float extent)
| 2749 | * @see PGraphics#rectMode(int) |
| 2750 | */ |
| 2751 | public void square(float x, float y, float extent) { |
| 2752 | rect(x, y, extent, extent); |
| 2753 | } |
| 2754 | |
| 2755 | |
| 2756 |