Tipo de datos del motor
Font
*Este contenido se traduce usando la IA (Beta) y puede contener errores. Para ver esta página en inglés, haz clic en aquí.
Resumen
Constructores
new(family: Content,weight: FontWeight,style: Enum.FontStyle) |
fromName(name: string,weight: FontWeight,style: Enum.FontStyle) |
fromId(id: number,weight: FontWeight,style: Enum.FontStyle) |
Referencia API
Constructores
new
Font.new(
Parámetros
weight:FontWeight Valor predeterminado: Enum.FontWeight.Regular |
| Valor predeterminado: Enum.FontStyle.Normal |
fromName
Font.fromName(
Parámetros
weight:FontWeight Valor predeterminado: Enum.FontWeight.Regular |
| Valor predeterminado: Enum.FontStyle.Normal |
fromId
Font.fromId(
Parámetros
weight:FontWeight Valor predeterminado: Enum.FontWeight.Regular |
| Valor predeterminado: Enum.FontStyle.Normal |
Propiedades
Weight
Font.Weight:FontWeight