Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
ApplyStrokeMode
This enum is used by UIStroke.ApplyStrokeMode to determine whether to apply the stroke to the object's border or of the text itself. For a more detailed walkthrough of the UIStroke object, see Applying Strokes.
Items
| Name | Value | Description |
|---|---|---|
| Contextual | 0 | The stroke is applied to the parent UI element's text. |
| Border | 1 | The stroke is applied to the parent UI element's border. |
Contextual
The stroke is applied to the parent UI element's text.
| Field | Value |
|---|---|
| value | 0 |
Border
The stroke is applied to the parent UI element's border.
| Field | Value |
|---|---|
| value | 1 |