TextStyles

Since: BlackBerry 10.0.0

#include <bb/cascades/SystemDefaults/TextStyles>

Provides access to the system's defaults for text styles.

This class can be used to find the system's default text styles for different types of text, including body text and title text.

See also:

SystemDefaults


Overview

Static Public Functions

TextStyle bigText ()

Returns the default style for large text.

Return:

The default style for big text.

Since:

BlackBerry 10.0.0

TextStyle bodyText ()

Returns the default style for body text.

Return:

The default style for body text.

Since:

BlackBerry 10.0.0

TextStyle primaryText ()

Returns the default style for primary text.

Note:

This default style uses FontSize::PercentageValue for it's fontSize setting.

Return:

The default style for primary text.

Since:

BlackBerry 10.0.0

TextStyle smallText ()

Returns the default style for small text.

Return:

The default style for small text.

Since:

BlackBerry 10.0.0

TextStyle subtitleText ()

Returns the default style for subtitle text.

Return:

The default style for subtitle text.

Since:

BlackBerry 10.0.0

TextStyle titleText ()

Returns the default style for title text.

Return:

The default style for title text.

Since:

BlackBerry 10.0.0

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus