StringStyle - Garland-g/perl6-libui GitHub Wiki

Family

Str: The name of the font family.

Size

Num: The point size of the font.

Weight

uint32: The weight of the font. Ranges from 0 to 1000

Italic

uint32: The type of italics applied to the font.

  • 0: Normal (not italicized)
  • 1: Oblique
  • 2: Italic

Stretch

uint32: The font width

  • 0: UltraCondensed
  • 1: ExtraCondensed
  • 2: Condensed
  • 3: SemiCondensed
  • 4: Normal
  • 5: SemiExpanded
  • 6: Expanded
  • 7: ExtraExpanded
  • 8: UltraExpanded