> For the complete documentation index, see [llms.txt](https://docs.flatredball.com/gum/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flatredball.com/gum/gum-tool/gum-elements/shape-properties/is-filled.md).

# Is Filled

{% hint style="info" %}
Is Filled is a shape property supported by Circle, Rectangle, ColoredCircle, and RoundedRectangle.
{% endhint %}

### Introduction

`Is Filled` sets whether a shape is filled in or if it is drawn using *stroke* - another word for outline.

<figure><img src="https://2695663588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_fzQmxQ1VeUFHcoo2c%2Fuploads%2FXdw5r6gtf2g6ScUydAEG%2F30_04%2037%2048.gif?alt=media&amp;token=8630a199-b28b-4852-930d-baf915ca9b9e" alt=""><figcaption><p>Circle toggling its Is Filled property</p></figcaption></figure>

### `Stroke Width`

`Stroke Width` sets the thickness of the stroke (outline). Increasing the value makes the stroke thicker. Note that increasing the stroke brings the stroke inward, so the shape is still bound by its effective width and height.

<figure><img src="https://2695663588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_fzQmxQ1VeUFHcoo2c%2Fuploads%2FbXWX0JMPT3DabYuS1dsg%2F30_04%2039%2042.gif?alt=media&amp;token=8821ee5b-eee6-4244-a119-7a75fc13b371" alt=""><figcaption><p><code>Stroke Width</code> controls the thickness of the outline</p></figcaption></figure>

### Stroke, Gradient, and Dropshadow

If a shape element has its `Is Filled` unchecked, this affects the rendering of gradients and dropshadows.

Gradients only fill the solid parts of a shape, so if a shape has `Is Filled` set to false, the hollow center of the shape does not show gradient color.

<figure><img src="https://2695663588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_fzQmxQ1VeUFHcoo2c%2Fuploads%2FH0Ft7KkmLjh8hkLksRde%2F30_04%2041%2023.gif?alt=media&amp;token=20fcafc0-62e5-4a66-ad75-2316eca7f8c8" alt=""><figcaption><p>Toggling Is Filled affects the gradient rendering at the center of the shape</p></figcaption></figure>

Dropshadows respect the opaque part of the shape, so changing `Is Filled` also affects the dropshadow.

<figure><img src="https://2695663588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_fzQmxQ1VeUFHcoo2c%2Fuploads%2Fc2veK3WbGa33ZeL6paA1%2F30_04%2042%2041.gif?alt=media&amp;token=08e113b4-c495-46f7-983c-00cc0d738a9a" alt=""><figcaption><p>Changing a ColoredCircle's Is Filled to false results in the dropshadow having a hollow center</p></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flatredball.com/gum/gum-tool/gum-elements/shape-properties/is-filled.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
