# DrawCircle

## Syntax

```lua
Susano.DrawCircle(x, y, radius, filled, r, g, b[, a], thickness[, segments]) -> void
```

## Parameters

{% hint style="info" %}
`x, y` (number): Center position in pixels.

`radius` (number): Radius in pixels.

`filled` (boolean): `true` for filled, `false` for outline.

`r, g, b` (number): Color in \[0..1].

`a` (number, optional): Alpha in \[0..1]. Default: `1.0`.

`thickness` (number): Outline thickness in pixels. Used when `filled=false`. Default: `1.0`.

`segments` (integer, optional): Approximation segments. Default: `32`.
{% endhint %}

## Return(s)

{% hint style="info" %}
None
{% endhint %}

## Behavior

{% hint style="info" %}
Appends a circle to the build buffer.

Visible after `Susano.SubmitFrame()`. Persists until next submit.
{% endhint %}

## Example(s)

```lua
Susano.BeginFrame()
Susano.DrawCircle(620,140, 40, false, 1,1,0, 1, 2, 48)
Susano.SubmitFrame()
```


---

# 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.susano.re/api-reference/drawing-functions/drawcircle.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.
