textSize method

void textSize(
  1. double fontSize
)

Sets the size of the text that is painted with the text() method.

Implementation

void textSize(double fontSize) {
  _fontSize = fontSize;
  _textLeading = null;
}