Open Asterune
UIStroke

UIStroke

Draws a stroke around text or an interface border.

Creatable
Instance.new("UIStroke")
Inherits
UIComponentUIBaseInstance
Replication
Standard

Behavior

UIStroke draws a stroke around text or an interface border.

Summary

Members8
Properties7
Methods1

Properties

Alignment

Whether the stroke is drawn inside, centered on, or outside the outline.

ApplyStrokeMode

Whether the stroke follows the element's content or its rectangular border.

Color

UIStroke.Color: Color3 = Color3.new(0, 0, 0)

The color applied when rendering this instance.

Enabled

UIStroke.Enabled: boolean = true

Whether this u i stroke is enabled.

Opacity

UIStroke.Opacity: number = 1

The opacity applied to this decoration.

Thickness

UIStroke.Thickness: number = 1

The thickness of the stroke or shell.

Transparency

UIStroke.Transparency: number = 0

The rendering transparency, from 0 for opaque to 1 for invisible.

Methods

GetExecutionGroup

UIStroke:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

Inherited members

Inherited47

UIComponent