Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
StrokeSizingMode
Used by UIStroke.StrokeSizingMode to determine whether the stroke's Thickness will be measured in pixels or be relative to the parent.
Items
| Name | Value | Description |
|---|---|---|
| FixedSize | 0 | Thickness is measured in pixels. |
| ScaledSize | 1 | Thickness is relative to minimum parent width or height. If stroke is on text, thickness is relative to font size. |
FixedSize
Thickness is measured in pixels.
| Field | Value |
|---|---|
| value | 0 |
ScaledSize
Thickness is relative to minimum parent width or height. If stroke is on text, thickness is relative to font size.
| Field | Value |
|---|---|
| value | 1 |