TextStyle

Description

A text style describes how to display text.

Parameters

Attribute Description Required
color the color to use to display the text in the form #rrggbb Yes
bold a flag to indicate that the text is bold. true or false. Defaults to false. No
italic a flag to indicate that the text is italic. true or false. Defaults to false; No
bias the size of the text, one of: SMALLEST, SMALLER, NORMAL, LARGER, LARGEST. Defaults to NORMAL. No

Examples

<TextStyle color="#3e3e91" italic="true" bias="LARGER"/>
Declares a text style which is blue/gray in color, is italic and is one size larger than the normal text size.