Text


About

A TextStyle object defines the style of a text.

Properties

The following properties can be set:

Property Definition Type Default
color Color Color 'black'
fontSize Font size Number 10
fontWeight Font weight String 'normal'
fontFamily Font family String 'system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif"'

Comments