User:AmasterAmaster/Community ProtoFlux Library/AmasterAmaster/Color/Set String Color: Difference between revisions
From Resonite Wiki
Slight reformatting of the page. |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{delete|This page has been superseeded by [[Community_ProtoFlux_Library/AmasterAmaster/Color/Set_String_Color]]}} | |||
{{Custom Node|[[User:AmasterAmaster|AmasterAmaster]]}} | {{Custom Node|[[User:AmasterAmaster|AmasterAmaster]]}} | ||
Line 13: | Line 14: | ||
{"Name":"DecoratedString", "Type":"String"} | {"Name":"DecoratedString", "Type":"String"} | ||
] | ] | ||
|Custom=true | |||
|}} | |}} | ||
Line 33: | Line 35: | ||
Returns the decorated string with the color tags. | Returns the decorated string with the color tags. | ||
[[Category:User:AmasterAmaster/Community ProtoFlux Library/AmasterAmaster/Color:Set String Color]] | <!-- you might want to drop this! you've created a category for a single item! --> | ||
<!-- [[Category:User:AmasterAmaster/Community ProtoFlux Library/AmasterAmaster/Color:Set String Color]] --> | |||
<!-- Something better would be [[Category:Community ProtoFlux Library:AmasterAmaster:Color]] --> |
Latest revision as of 21:14, 22 August 2024
Set String Color
Amaster's Color Library
The Set String Color node takes in a String and a ColorX and returns a decorated string that has Rich Text Formatting (RTF) color tags surrounding it. The color this node is using is in a Hex Code format.
Inputs
String (String)
The string to decorate with RTF color tags.
Color (ColorX)
The color to set the Hex Code value to.
Outputs
DecoratedString (String)
Returns the decorated string with the color tags.