Referencia textStyle()

textStyle()

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.

This page is generated from the comments in src/typography/attributes.js . Please feel free to edit it and submit a pull request!

Referencias Relacionadas