resize method

void resize(
  1. int width,
  2. int height
)

Resizes the canvas backing buffer to the given dimensions.

Implementation

void resize(int width, int height) => _scr.resize(width, height);