1 min read

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

NameValueDescription
FixedSize0Thickness is measured in pixels.
ScaledSize1Thickness 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.

FieldValue
value0

ScaledSize

Thickness is relative to minimum parent width or height. If stroke is on text, thickness is relative to font size.

FieldValue
value1