WoW:API FontString SetTextColor: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
:<nowiki>String:SetTextColor(1.0,0,0,0.5);</nowiki> | :<nowiki>String:SetTextColor(1.0,0,0,0.5);</nowiki> | ||
: This will set the text color to be used with SetText() or any other output function. In this the text will be semi transparent red. | : This will set the text color to be used with SetText() or any other output function. In this the text will be semi transparent red. | ||
{{template:WoW API}} | |||
Revision as of 17:48, 30 December 2005
FontString:SetTextColor(red,green,blue[,alpha]);
Sets the text color for any FontString UI object.
- Arguments
- red Range 0 to 1
- green Range 0 to 1
- blue Range 0 to 1
- Optional Argument
- alpha Range 0 to 1
- Returns
- nil
- Example
- String:SetTextColor(1.0,0,0,0.5);
- This will set the text color to be used with SetText() or any other output function. In this the text will be semi transparent red.