setCellWithAlphaBlending method

void setCellWithAlphaBlending(
  1. int x,
  2. int y,
  3. String char,
  4. Color fg,
  5. Color bg,
  6. int attributes,
)

Sets a cell at (x, y) with full alpha-blending support.

Implementation

void setCellWithAlphaBlending(
  int x,
  int y,
  String char,
  Color fg,
  Color bg,
  int attributes,
) {
  if (char.isEmpty) throw ArgumentError('Character cannot be empty');
  _setCellCodeWithAlphaBlending(x, y, char.runes.first, fg, bg, attributes);
}