Establece el estilo para las fuentes del sistema cuando se llama a text().
El parámetro, style, puede ser NORMAL, ITALIC, BOLD o BOLDITALIC.
textStyle() puede ser anulado por estilos CSS. Esta función no afecta a las fuentes cargadas con loadFont().
Ejemplos
Sintaxis
textStyle(style)
textStyle()
Parámetros
style
Constant:
estilo para el texto, ya sea NORMAL, ITALIC, BOLD o BOLDITALIC.
Notice any errors or typos? Please let us know. Please feel free to edit src/typography/attributes.js and open a pull request!