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
Whether the stroke is drawn inside, centered on, or outside the outline.
Whether the stroke follows the element's content or its rectangular border.
The color applied when rendering this instance.
Whether this u i stroke is enabled.
The opacity applied to this decoration.
The thickness of the stroke or shell.
The rendering transparency, from 0 for opaque to 1 for invisible.
Returns this instance if it is an ExecutionGroup.
Properties
Alignment
UIStroke.Alignment: Enum.StrokeAlign = Enum.StrokeAlign.InsideWhether the stroke is drawn inside, centered on, or outside the outline.
ApplyStrokeMode
UIStroke.ApplyStrokeMode: Enum.ApplyStrokeMode = Enum.ApplyStrokeMode.ContextualWhether 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 = trueWhether this u i stroke is enabled.
Opacity
UIStroke.Opacity: number = 1The opacity applied to this decoration.
Thickness
UIStroke.Thickness: number = 1The thickness of the stroke or shell.
Transparency
UIStroke.Transparency: number = 0The 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
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying