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 these parameters are interpreted, however, ma
(float x, float y, float extent)
| 2846 | * @see PGraphics#rectMode(int) |
| 2847 | */ |
| 2848 | public void square(float x, float y, float extent) { |
| 2849 | rect(x, y, extent, extent); |
| 2850 | } |
| 2851 | |
| 2852 | |
| 2853 |