FontWeight

lumin.resources. FontWeight

new FontWeight(value)

Enumerate common weights (glyph thickness) of fonts in the same
family and style. Font families will not have all weights in
general. The default weight is kRegular.

Parameters:
Name Type Description
value number

Members

(static, constant) kBold :lumin.resources.FontWeight

Type:

(static, constant) kExtraBold :lumin.resources.FontWeight

Type:

(static, constant) kExtraLight :lumin.resources.FontWeight

Type:

(static, constant) kLight :lumin.resources.FontWeight

Type:

(static, constant) kMedium :lumin.resources.FontWeight

Type:

(static, constant) kRegular :lumin.resources.FontWeight

The default weight

Type:

value :number

Type:
  • number