setChar method

void setChar(
  1. int ch
)

Set the symbol from a Unicode code point.

Implementation

void setChar(int ch) {
  symbol = String.fromCharCode(ch);
}