-
Cast constructor, converting any binary integer to a
Weight.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryIntegerParameters
rawThe raw integer value to initialise the enum from
-
the thin weight (= 100) Since: 1.24
Declaration
Swift
static let thin: PangoWeight -
the ultralight weight (= 200)
Declaration
Swift
static let ultralight: PangoWeight -
the light weight (= 300)
Declaration
Swift
static let light: PangoWeight -
the semilight weight (= 350) Since: 1.36.7
Declaration
Swift
static let semilight: PangoWeight -
the book weight (= 380) Since: 1.24)
Declaration
Swift
static let book: PangoWeight -
the default weight (= 400)
Declaration
Swift
static let normal: PangoWeight -
the normal weight (= 500) Since: 1.24
Declaration
Swift
static let medium: PangoWeight -
the semibold weight (= 600)
Declaration
Swift
static let semibold: PangoWeight -
the bold weight (= 700)
Declaration
Swift
static let bold: PangoWeight -
the ultrabold weight (= 800)
Declaration
Swift
static let ultrabold: PangoWeight -
the heavy weight (= 900)
Declaration
Swift
static let heavy: PangoWeight -
the ultraheavy weight (= 1000) Since: 1.24
Declaration
Swift
static let ultraheavy: PangoWeight
View on GitHub
Install in Dash
Weight Extension Reference