Function console_engine::pixel::pxl_fg
source · [−]Expand description
Generate a pixel using a character and a foreground color.
Background color is always black.
usage:
use console_engine::pixel;
use console_engine::Color;
// ...
engine.set_pxl(0,0,pixel::pxl_fg('X', Color::Cyan));