|
double | l |
| Double for the luminance of the pixel, [0, 1]. More...
|
|
◆ BWPixel() [1/2]
cs225::BWPixel::BWPixel |
( |
| ) |
|
Constructs a default BWPixel.
A default pixel is completely opaque (non-transparent) and white.
◆ BWPixel() [2/2]
cs225::BWPixel::BWPixel |
( |
double |
luminance | ) |
|
Constructs an opaque BWPixel with the given luminance value.
- Parameters
-
luminance | Luminance value for the new pixel, [0, 1]. |
Double for the luminance of the pixel, [0, 1].
The documentation for this class was generated from the following files: