gvSIG-Desktop 1.12. User manual
A square is simply a rectangle with equal sides. To prevent possible mistakes when drawing the square, the application allows you to create a square based on a rectangle and makes it have equal sides. To draw a square, first select “Rectangle” and insert the first vertex, then right click on the mouse and click on the “Square” option (“Corner”) in the contextual menu.
![insertar-elementos-de-dibujo.img/rectanguloMenuContextual_es.png](../../../../../../docusr/acceso-editores/funcionalidades/herramientas-de-edicion/edicion-grafica/insertar-elementos-de-dibujo-puntos-lineas/insertar-elementos-de-dibujo.img/rectanguloMenuContextual_es.png)
The following figure shows an example of the creation of a square from the command console. After the first point of the rectangle has been input, gvSIG is told to make the figure become a square by inputting the letter “C”. You can then insert the opposite corner.
![insertar-elementos-de-dibujo.img/cuadradoEnConsola_es.png](../../../../../../docusr/acceso-editores/funcionalidades/herramientas-de-edicion/edicion-grafica/insertar-elementos-de-dibujo-puntos-lineas/insertar-elementos-de-dibujo.img/cuadradoEnConsola_es.png)
If you make a mistake in inputting the coordinates the application will still draw a square by calculating the size of the vertical line (Y axis), using the coordinate specified for the X axis.