Analog text color
- Last UpdatedJul 26, 2024
- 1 minute read
The following elements can be specified for an analog text color animation link. The object containing the animation link is not created if a required value is missing or invalid.
|
Elements |
Description |
|---|---|
|
Title |
Object name. Optional. |
|
Color1 |
Contains a color element. Default is rgb(0,0,0). |
|
Color2 |
Contains a color element. Default is rgb(0,0,0). |
|
Color3 |
Contains a color element. Default is rgb(0,0,0). |
|
Color4 |
Contains a color element. Default is rgb(0,0,0). |
|
Color5 |
Contains a color element. Default is rgb(0,0,0). |
|
Color6 |
Contains a color element. Default is rgb(0,0,0). |
|
Color7 |
Contains a color element. Default is rgb(0,0,0). |
|
Color8 |
Contains a color element. Default is rgb(0,0,0). |
|
Color9 |
Contains a color element. Default is rgb(0,0,0). |
|
Color10 |
Contains a color element. Default is rgb(0,0,0). |
|
Values |
Constant analog values. Must contain nine value elements. Required. |
|
Expression |
Analog tag expression. Required. |
Example:
<TextColorAnalog>
<Title>TextColorAnalog1</Title>
<Expression>aTag001</Expression>
<Colors>
<Color1><Name>White</Name></Color1>
<Color2><Name>Red</Name></Color2>
<Color3><Name>Orange</Name></Color3>
<Color4><Name>Yellow</Name></Color4>
<Color5><Name>Green</Name></Color5>
<Color6><Name>Blue</Name></Color6>
<Color7><Name>Cyan</Name></Color7>
<Color8><Name>Magenta</Name></Color8>
<Color9><Name>Violet</Name></Color9>
<Color10><Name>Black</Name></Color10>
</Colors>
<Values>
<Value>10.0</Value> <Value>20.0</Value>
<Value>30.0</Value> <Value>40.0</Value>
<Value>50.0</Value> <Value>60.0</Value>
<Value>70.0</Value> <Value>80.0</Value>
<Value>90.0</Value>
</Values>
</TextColorAnalog>
Minimal example:
<TextColorAnalog>
<Expression>aTag001</Expression>
<Values>
<Value>10.0</Value>
<Value>20.0</Value>
<Value>30.0</Value>
<Value>40.0</Value>
<Value>50.0</Value>
<Value>60.0</Value>
<Value>70.0</Value>
<Value>80.0</Value>
<Value>90.0</Value>
</Values>
</TextColorAnalog>