User:AmasterAmaster/Community ProtoFlux Library/AmasterAmaster/Color/Set String Color: Difference between revisions
From Resonite Wiki
Created the custom node page for the Set String Color node. (This is a test to make sure this works before trying to make a bunch of these pages) |
Slight reformatting of the page. |
||
Line 1: | Line 1: | ||
{{Custom Node|[[User:AmasterAmaster|AmasterAmaster]]}} | |||
{{#Invoke:ProtoFlux|GenerateUI | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name=Set String Color | |Name=Set String Color | ||
Line 12: | Line 14: | ||
] | ] | ||
|}} | |}} | ||
The '''Set String Color''' node takes in a [[Type:String|String]] and a [[Type:ColorX|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. | The '''Set String Color''' node takes in a [[Type:String|String]] and a [[Type:ColorX|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. | ||
Line 25: | Line 25: | ||
=== Color ([[Type:ColorX|ColorX]]) === | === Color ([[Type:ColorX|ColorX]]) === | ||
The color to set the | The color to set the Hex Code value to. | ||
== Outputs == | == Outputs == |
Revision as of 00:41, 16 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.