An enumeration specifying the weight (boldness) of a font.
Weight is specified as a numeric value ranging from 100 to 1000. This enumeration simply provides some common, predefined values.
the thin weight (= 100) Since: 1.24
the ultralight weight (= 200)
the light weight (= 300)
the semilight weight (= 350) Since: 1.36.7
the book weight (= 380) Since: 1.24)
the default weight (= 400)
the medium weight (= 500) Since: 1.24
the semibold weight (= 600)
the bold weight (= 700)
the ultrabold weight (= 800)
the heavy weight (= 900)
the ultraheavy weight (= 1000) Since: 1.24
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.