# Rectangle Visualization Options

**Component Reference:** Rectangle or @splunk/visualizations/rectangle

Source: `@splunk/visualization-schemas/rectangleOptionsSchema`

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `fillColor` | string | `> themes.defaultFillColor` | Specify the fill color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light mode is "#C3CBD4". The default for enterprise dark mode is "#31373E". The default for prisma dark mode is "#0B0C0E". |
| `fillOpacity` | number | `1` | Specify the opacity of the fill. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI. |
| `rx` | number | `0` | Specify the curvature of the horizontal corner (or border) radius with an integer or a percent greater than or equal to zero. |
| `ry` | number | `> rx` | Specify the curvature of the vertical corner (or border) radius with an integer or a percent greater than or equal to zero. |
| `strokeColor` | string | `> themes.defaultStrokeColor` | Specify the stroke color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light mode is "#3C444D". The default for enterprise dark mode is "#C3CBD4". The default for prisma dark mode is "#ACACAD". |
| `strokeDashStyle` | number | `0` | Specify the size, in pixels, of dashes and spaces used to create a custom stitched outline. The value you specify applies to both the dashes and the spaces between them. |
| `strokeJoinStyle` | string | `miter` | Specifies the shape to be used at the corners of paths when they are joined. Allowed values: `arcs`, `bevel`, `miter`, `miter-clip`, `round` |
| `strokeOpacity` | number | `1` | Specify the opacity of the stroke. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI. |
| `strokeWidth` | number | `1` | Specify the width of the stroke, in pixels. The minimum value is 0. |

_Auto-generated; do not edit by hand._
