openfl.text.engine

..
FontPosture

The FontPosture class is an enumeration of constant values used with FontDescription.fontPosture and StageText.fontPostures to set text to italic or normal.

FontWeight

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