FontWeight

Since: BlackBerry 10.0.0

#include <bb/cascades/FontWeight>

Represents the types of font weights for a TextStyle.

The font weight is a value between 100 and 900, with 100 being a very light and 900 being very heavy. The Normal and Bold weights are the equivalent to W400 and W700.


Overview

Public Types Index

Public Types

Type

The available font weights for a TextStyle.

Since:

BlackBerry 10.0.0

Default = 0

The default font weight.

Normal

Normal font.

This weight is the equivalent to W400.

Since:

BlackBerry 10.0.0

Bold

Bold font.

This weight is the equivalent to W700

Since:

BlackBerry 10.0.0

W100

Weight of 100.

Since:

BlackBerry 10.0.0

W200

Weight of 200.

Since:

BlackBerry 10.0.0

W300

Weight of 300.

Since:

BlackBerry 10.0.0

W400

Weight of 400.

This weight is the equivalent to Normal.

Since:

BlackBerry 10.0.0

W500

Weight of 500.

Since:

BlackBerry 10.0.0

W600

Weight of 600.

Since:

BlackBerry 10.0.0

W700

Weight of 700.

This weight is the equivalent to Bold.

Since:

BlackBerry 10.0.0

W800

Weight of 800.

Since:

BlackBerry 10.0.0

W900

Weight of 900.

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