Skip to content
OliverF edited this page Jun 12, 2014 · 2 revisions

Sets the font of the label's text.

Syntax

nil label:SetFont(string font)

Returns

  1. nil

Arguments

  1. string font
    The font can be the name of any font installed on the system.

Example

local label = RSAS.GUI.Control("label", "demo_label")

label:SetFont("Times New Roman")

Clone this wiki locally