Width of image as size_t value.
Height of image as size_t value.
Initial color for pixels in image.
Typical usage:
// creating of empty image PixMapImage pmi = new PixMapImage; // creating image of size 20x20, all pixels are black PixMapImage pmi2 = new PixMapImage(20, 20); // creating image of size 20x20, all pixels are red PixMapImage pmi3 = new PixMapImage(20, 20, new RGBColor(255, 0, 255));
A constructor for creating an image with given dimensions (length and width) and starting color for pixels. By default, all values are zero, and black (i.e: RGBColor(0, 0, 0)) is used as the starting color.