textSize([pointSize])

Returns the current font size in points and sets it if argument pointSize is given.

Type: function

Parameter(s):

  • pointSize {Number} Optional:

    The size in points to set.

Returns:

  • {Number}:

    The current point size.