FontStyleWidth
public enum FontStyleWidth : Int32
Predefined font widths for use with Typeface, these values match the usWidthClass from the OpenType specification. These are numbers from 1 to 9, lower numbers represent narrower widths, higher numbers indicate wider widths.
-
50% width of normal,
usWidthClass= 1Declaration
Swift
case ultraCondensed = 1 -
62.5% width of normal,
usWidthClass= 2Declaration
Swift
case extraCondensed = 2 -
75% width of normal,
usWidthClass= 3Declaration
Swift
case condensed = 3 -
87.5% width of normal,
usWidthClass= 4Declaration
Swift
case semiCondensed = 4 -
100% width of normal,
usWidthClass= 5Declaration
Swift
case normal = 5 -
112.5% width of normal,
usWidthClass= 6Declaration
Swift
case semiExpanded = 6 -
125% width of normal,
usWidthClass= 7Declaration
Swift
case expanded = 7 -
150% width of normal,
usWidthClass= 8Declaration
Swift
case extraExpanded = 8 -
200% width of normal,
usWidthClass= 9Declaration
Swift
case ultraExpanded = 9
View on GitHub
Install in Dash
FontStyleWidth Enumeration Reference