Widget API: FontInstance:SetTextColor
Jump to navigation
Jump to search
← Widget API ← FontInstance < SetTextColor
Sets the object's text color.
obj:SetTextColor(red, green, blue[, alpha])
Arguments
- red
- Number - Red part of color (0.0 -- 1.0)
- green
- Number - Green part of color (0.0 -- 1.0)
- blue
- Number - Blue part of color (0.0 -- 1.0)
- alpha
- Number - Alpha (transparency) value (0.0 for totally transparent, 1.0 for solid color)