# 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&#x26;token=06b9f62e-f784-4b9f-8df3-5462739036ee" alt=""><figcaption></figcaption></figure>

Similar to the [line](https://docs.pixquare.art/tools/line) tool, the shape tool helps us quickly draw basic shapes: rectangles 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 type.

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

[Read more about watercolor >](https://docs.pixquare.art/brush#watercolor)

[Read more about round/square stroke type >](https://docs.pixquare.art/brush#round-and-square)

There is not much to say about these 2 shapes, except the 2 options that it has.

### 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&#x26;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&#x26;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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pixquare.art/tools/shape.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
