textFont method

void textFont(
  1. String fontName
)

Set the font used to render text by providing a fontName.

Implementation

void textFont(String fontName) {
  _fontName = fontName;
}