drawStringXY method

  1. @override
void drawStringXY(
  1. num x,
  2. num y,
  3. String s,
  4. Color3i color,
)
override

Draw a string.

Implementation

@override
void drawStringXY(num x, num y, String s, Color3i color) {
  _setColor(color);
  ctx.strokeText(s, x, y);
}