[−][src]Function console_engine::pixel::pxl_fbg
pub fn pxl_fbg<C: Color>(value: char, fg: C, bg: C) -> Pixel
Generate a pixel using a character, a foreground and background color
usage:
use console_engine::pixel; use termion::color; // ... engine.set_pxl(0,0,pixel::pxl_fbg('X', color::Blue, color::White));