point method

void point(
  1. int x,
  2. int y, {
  3. UvStyle style = const UvStyle(),
})

Plot a single braille dot.

Implementation

void point(int x, int y, {UvStyle style = const UvStyle()}) {
  if (x < 0 || y < 0 || x >= dotWidth || y >= dotHeight) return;
  _dots[y][x] = style;
}