> For the complete documentation index, see [llms.txt](https://fatos-doc.fatos.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fatos-doc.fatos.biz/fatos-api/map/map-control/layers/style-specification/fill.md).

# Fill

A filled polygon with an optional stroked border.

#### Paint Property

<table><thead><tr><th>Property Name</th><th width="222.28571428571428">Description</th><th width="150">Type</th><th>Defaults</th></tr></thead><tbody><tr><td>fill-antialias</td><td>Whether or not the fill should be antialiased.</td><td>boolean</td><td>true</td></tr><tr><td>fill-color</td><td>The color of the filled part of this layer.</td><td>hex values, RGB, RGBA, HSL, HSLA,<br>Colors Name</td><td>#000000</td></tr><tr><td>fill-opacity</td><td>The opacity of the entire fill layer. In contrast to the <code>fill-color</code>, this value will also affect the 1px stroke around the fill, if the stroke is used.<br>between <code>0</code> and <code>1</code> inclusive.</td><td>number</td><td>1</td></tr><tr><td>fill-outline-color</td><td>The outline color of the fill. Matches the value of <code>fill-color</code> if unspecified.</td><td>hex values, RGB, RGBA, HSL, HSLA,<br>Colors Name</td><td>X</td></tr><tr><td>fill-translate</td><td><p>The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.</p><p><br></p></td><td>array of numbers</td><td>[0,0]</td></tr><tr><td>fill-translate-anchor</td><td><p>Controls the frame of reference for <code>fill-translate</code>.<br><code>"map"</code>:</p><p>The fill is translated relative to the map.</p><p><code>"viewport"</code>:</p><p>The fill is translated relative to the viewport.</p></td><td>String (map or viewport)</td><td>map</td></tr></tbody></table>

#### Layout Property

<table><thead><tr><th>Property Name</th><th width="226">Description</th><th width="150">Type</th><th>Defaults</th></tr></thead><tbody><tr><td>visibility</td><td><p>Whether this layer is displayed.</p><p><code>"visible"</code>:</p><p>The layer is shown.</p><p><code>"none"</code>:</p><p>The layer is not shown.</p></td><td>String( visible or none)</td><td>visible</td></tr></tbody></table>

###
