Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FontStyle

The font style class provides a huge amount of pre-canned font style variants.

example
Example aliases ```ts style.light.normal; // 'light' weight, 'normal' size style.normal.normal; // 'normal' weight, 'normal' size style.bold.huge; // 'bold' weight, 'huge' size ```

Hierarchy

Implements

Index

Constructors

constructor

  • new FontStyle(__namedParameters?: object): FontStyle

Accessors

100

  • get 100(): IStyles

200

  • get 200(): IStyles

300

  • get 300(): IStyles

400

  • get 400(): IStyles

500

  • get 500(): IStyles

600

  • get 600(): IStyles

700

  • get 700(): IStyles

800

  • get 800(): IStyles

900

  • get 900(): IStyles

huge

  • get huge(): IStyles

large

  • get large(): IStyles

larger

  • get larger(): IStyles

largest

  • get largest(): IStyles

normal

  • get normal(): IStyles

small

  • get small(): IStyles

smaller

  • get smaller(): IStyles

smallest

  • get smallest(): IStyles

tiny

  • get tiny(): IStyles

Methods

__@toPrimitive

  • __@toPrimitive(hint: "string" | "number" | "default"): number | string