Skip to content
Roblox API Reference

UIStroke

Applies an outline to text or a UI border.
Memory category
Instances
Own members
10
Inherited members
75
Subclasses
0
Siblings
11

Properties33

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byUIStroke10

Property categoryAppearance

  • Determines whether to apply the stroke to the object's border instead of the text itself.
    • Read capabilities: UI
  • UIStroke.BorderOffset: UDim = UDim.new(0, 0)
    Specifies an additional offset to the stroke's position, relative to the parent's minimum height or width.
    • Read capabilities: UI
  • Determines the stroke's position on its parent's border.
    • Read capabilities: UI
  • UIStroke.Color: Color3 = Color3.new(0, 0, 0)
    Determines the stroke color.
    • Read capabilities: UI
  • Determines how corners are interpreted.
    • Read capabilities: UI
  • Determines whether the stroke's Thickness will be measured in pixels or be relative to the parent.
    • Read capabilities: UI
  • UIStroke.Thickness: number = 1
    Determines the stroke's thickness.
    • Read capabilities: UI
  • UIStroke.Transparency: number = 0
    Sets the stroke opacity independently of the parent object's BackgroundTransparency or TextTransparency.
    • Read capabilities: UI
  • UIStroke.ZIndex: number = 1
    Determines the order in which the stroke renders relative to sibling UIStroke instances.
    • Read capabilities: UI

Property categoryData

  • UIStroke.Enabled: boolean = true
    Determines whether the stroke in visible.
    • Read capabilities: UI

Methods42

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39

Events10

Inherited fromObject1
Inherited fromInstance9