# Line

<figure><img src="/files/vc52BxMpx1HMw12XbFeL" alt=""><figcaption></figcaption></figure>

Use this tool to create straight lines or curves (max 2 control points).

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

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

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

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

### Straight line <img src="/files/RONoNsiMrqUY9DFBg5Bb" alt="" data-size="line">

Draw a straight line by putting the pencil down at the start point, then drag it to the endpoint. The line will be drawn from the start point to the endpoint. The line will be [pixel-perfect](/tools/brush.md#pixel-perfect).

#### Perfect angle&#x20;

<figure><img src="/files/Sr7bUkvvf6OAF8uEnPXC" alt="" width="225"><figcaption></figcaption></figure>

If we're doing isometric pixel art, it's very useful to keep the lines at certain angles. Enable this option and the line will always be at one of these angles: 0, 30, 45, 60, 90, 120, 135, 150, 180, and so on

### Curve <img src="/files/XNviqH1LfRNqSiUSMImZ" alt="" data-size="line">

{% embed url="<https://youtu.be/eJ6cER4zqmY>" %}

Draw a curve by putting the pencil down at the start point, then drag it to the endpoint. At this step, curve appears to work like a straight line, however, it's not finished yet.&#x20;

We can add a maximum of 2 control points to a curve, so now we can start tapping or dragging the first control point, and then repeat for the second control point.

{% hint style="info" %}
If we're satisfied with only 1 control point, we can finish the curve by:

* If we have [Only draw with pencil](/settings/drawing.md#only-draw-with-pencil) on, finger double-tap at any time.
* If the option is off, while the pencil is still on the screen for the first control point, finger double-tap.
* If we're drawing with a finger, lift our finger and tap again at the same coordinate. This can be applied with the pencil as well.
  {% endhint %}


---

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