> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/strokesizingmode.md).

# StrokeSizingMode

## Overview

StrokeSizingMode is an Enum that specifies how the stroke thickness is calculated when the size of the UI element changes.

This is used as the StrokeSizingMode property of UIStroke and determines whether the stroke thickness stays fixed or scales in proportion to the UI element's size.

## Items

| Name       | Value | Description                                                         |
| ---------- | ----- | ------------------------------------------------------------------- |
| FixedSize  | 0     | Maintains a constant thickness regardless of the UI element's size. |
| ScaledSize | 1     | Adjusts the thickness in proportion to the UI element's size.       |

## See also

{% content-ref url="/pages/79OZ3e9UaPepKCPFvkj8" %}
[UIStroke](/development/api-reference/classes/uistroke.md)
{% endcontent-ref %}
