The background of a text component is transparent. The text of a text component has the color of the component's layer, and occludes components in lower layers, just as a graphical component does.
The Layer Indicators include a Text Indicator for including a text component in a layer. When a layer has multiple text components, only the first shows in the Text Indicator. All text components appear in the icon description in the class definition's table.
To specify a text component in an icon layer using the Icon Editor:
string at (x-position, y-position) in font-size
x-position: The position of the left edge of the text relative to the left edge of the icon.
y-position: The position of the baseline of the text relative to the top of the icon.
font-size: Any standard G2 font size:
small, large, or extra-large.
To put more than one text component into a layer, specify each in a separate layer, then combine the layers using the
Group button, as described under Creating Groups. Only the first text component in the combined layer appears in the layer's Text Indicator. Use Ungroup to regain separate access to the components of the combined layer.