1,501
edits
No edit summary |
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
:'''TextColor''' - an expression specifying the text color. | :'''TextColor''' - an expression specifying the text color. | ||
The color can be specified by a numerical expression representing an [[RGB]] color number or a [[LegacyColorValue|legacy color value]], or by one of 17 [[:Category:Colors|base color words]]. | ::The color can be specified by a numerical expression representing an [[RGB]] color number or a [[LegacyColorValue|legacy color value]], or by one of 17 [[:Category:Colors|base color words]]. | ||
== Notes == | == Notes == | ||
* An object-specific ID number is returned by [[Text_New]] when the text object is created. | * An object-specific ID number is returned by [[Text_New]] when the text object is created. | ||
* Use [[Text_GetColor]] to get the color of a specific text object. | |||
== Examples == | == Examples == | ||
Assign the color blue to the text of a text object with the ID number of 3: | Assign the color blue to the text of a text object with the ID number of 3: |