Font
Identifies a font family, weight, and style.
Behavior
Font identifies a font family, weight, and style.
Summary
Constructors2
Members4
Constructors
fromName
Creates a font using its family name and optional weight and style.
new
Creates a font from a family identifier and optional weight and style.
Properties
Bold
Font.Bold: booleanWhether the selected font weight is bold.
Family
Font.Family: stringThe font-family identifier.
Style
Font.Style: EnumItemThe normal or italic font style.
Weight
Font.Weight: EnumItemThe selected font weight.
Operators
__eq · __tostring · __type