Text Facelet
The Text Facelet renders a text string at a given position.
It supports data binding, formatting, coloring, rotation and blinking.
Configuration
-
Position
X, Y position in screen coordinates [mil]. -
Text Size
Size of the text in [mil]. -
Font
Select the font family. -
Horizontal Alignment
Mode Description Left
Align text to the left.
Center
Center the text horizontally.
Right
Align text to the right.
-
Vertical Alignment
Mode Description Top
Align to the top.
Top Bounds
Align to the top bounds of the text.
Ascent
Align to the font ascent line.
Baseline
Align to the text baseline.
Descent
Align to the font descent line.
Bottom
Align to the bottom.
Bottom Bounds
Align to the bottom bounds of the text.
Center Bounds
Center vertically based on the text bounds.
-
Rotation Angle
Rotation angle of the text in degrees (0 - 359). -
Text
The text content to display. Supports data binding expressions. -
Text Transform
Apply a text transformation function.Value Description No transformation
upper
Convert to UPPERCASE
lower
Convert to lowercase
cap
Capitalize first letter
sub,n,m
Substring from position n with length m
-
Text Color
The color of the text. -
Background Color
Background color behind the text. Set to transparent (#00000000) for no background. -
Border Width
Border width around the text background in [mil]. Set to0for no border. -
Padding
Padding between text and background/border in [mil]. -
Border Color
Color of the border. -
Blink
Blinking condition:0= off,1= slow,2= medium,3= fast. -
Visibility
A condition expression. The Facelet is displayed if this evaluates to1. -
Display Mode
Mode Description Normal
This Facelet is only displayed in interactive (normal) mode.
Ambient
This Facelet is only displayed in ambient mode.
Always
This Facelet is displayed in both interactive and ambient mode.
-
Ambient Color
Select a color for the ambient mode.
0uses the common ambient color of the face settings.