> 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="/files/LYEy3WcAI28gIC5vzXne" alt=""><figcaption></figcaption></figure>

Similar to the [line](/tools/line.md) 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 >](/tools/brush.md#watercolor)

[Read more about round/square stroke type >](/tools/brush.md#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="/files/32dhUWQEeiA0VkXT2wfQ" 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="/files/K1QYpCzWUb3kiYHJpze0" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.
