The FontWeight class is an enumeration of constant values used with FontDescription.fontWeight and StageText.fontWeight to set text to bold or normal.

See also:

Variables

@:value(cast 0)@:impl@:enuminlineread onlyBOLD:FontWeight = 0

Used to indicate bold font weight.

@:value(cast 1)@:impl@:enuminlineread onlyNORMAL:FontWeight = 1

Used to indicate normal font weight.