rect method
Draw a rectangle outline in braille-dot space.
Implementation
void rect(int x0, int y0, int x1, int y1, {UvStyle style = const UvStyle()}) {
for (var x = x0; x <= x1; x++) {
point(x, y0, style: style);
point(x, y1, style: style);
}
for (var y = y0; y <= y1; y++) {
point(x0, y, style: style);
point(x1, y, style: style);
}
}