> For the complete documentation index, see [llms.txt](https://docs.pixquare.art/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pixquare.art/tools/shape.md).

# Shape

<figure><img src="https://1813203282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOddm4yDredA8gF0g7cDm%2Fuploads%2FzIozzXybhTM8GKMyRCWR%2FShape.png?alt=media&amp;token=06b9f62e-f784-4b9f-8df3-5462739036ee" alt=""><figcaption></figcaption></figure>

Similar to the [line](/tools/line.md) tool, the shape tool helps us quickly draw basic shapes: polygons and ellipses.&#x20;

This tool has the watercolor option and 2 stroke types. These are the same as the brush's watercolor and round/square stroke types.

We can also adjust the size and opacity of the line.

[Read more about watercolor >](/tools/brush.md#watercolor)

[Read more about round/square stroke type >](/tools/brush.md#round-and-square)

### Polygon config

#### Count

Adjust this value to change how many sides the polygons have: 3 for triangles, 4 for rectangles, and so on.

We can either set this value to 0 for ellipses or simply turn on the Ellipse toggle.

#### Radius

This option changes the corner radius of the polygon, only available when the Ellipse toggle is off.

### Perfect ratio

<figure><img src="https://1813203282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOddm4yDredA8gF0g7cDm%2Fuploads%2FzeqaYbnbVaj5Vw386HDs%2FPerfect%20ratio.png?alt=media&amp;token=3e91fdac-1df3-4af3-98ab-a5d54fc7a897" alt="" width="222"><figcaption></figcaption></figure>

If this option is on, the drawn shapes will always be squares (for rectangles) and circles (for ellipses).

### Filled

<figure><img src="https://1813203282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOddm4yDredA8gF0g7cDm%2Fuploads%2FG8KIhp1gJu4RzkHrLXOJ%2FFilled.png?alt=media&amp;token=ae0d3be3-bf25-4ea4-a7cf-2891f8d73295" alt="" width="222"><figcaption></figcaption></figure>

Shapes are hollow by default; however, we can turn on this option to fill the area inside the shapes.

### Drag mode

We have 2 options:

* Corner-corner: drag a shape from 1 corner to the opposite corner
* Center-corner: drag a shape from the center to a corner, the opposite corner will be the mirrored coordinate of the dragged corner through the center

### Move and rotate

<figure><img src="https://1813203282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOddm4yDredA8gF0g7cDm%2Fuploads%2FIiAp5Zyh9weIsAhHkR8Z%2FPolygon%20move%20and%20rotate.png?alt=media&amp;token=d4f0677e-4c2c-4a0a-a695-3dcdb430dc77" alt="" width="140"><figcaption></figcaption></figure>

While dragging the polygon, these 2 buttons will pop up next to the main sliders. We can hold them to either move the polygon around or rotate it.
