Font

Show Deprecated

Summary

Constructors

new(family: Content, weight: FontWeight, style: FontStyle)  

fromEnum(font: Font)  

fromName(name: string, weight: FontWeight, style: FontStyle)  

fromId(id: number, weight: FontWeight, style: FontStyle)  

Properties

Constructors

new

Parameters

family: Content
weight: FontWeight
Default Value: "Enum.FontWeight.Regular"
style: FontStyle
Default Value: "Enum.FontStyle.Normal"

fromEnum

Parameters

font: Font

fromName

Parameters

name: string
weight: FontWeight
Default Value: "Enum.FontWeight.Regular"
style: FontStyle
Default Value: "Enum.FontStyle.Normal"

fromId

Parameters

id: number
weight: FontWeight
Default Value: "Enum.FontWeight.Regular"
style: FontStyle
Default Value: "Enum.FontStyle.Normal"

Properties

Family