@microsoft/fast-colors > PixelBox > (constructor)
PixelBox.(constructor)
Constructs a new instance of the PixelBox
class
constructor(globalHistogram: Histogram, minRed: number, maxRed: number, minGreen: number, maxGreen: number, minBlue: number, maxBlue: number);
Parameters
Parameter | Type | Description |
---|---|---|
globalHistogram | Histogram | |
minRed | number | |
maxRed | number | |
minGreen | number | |
maxGreen | number | |
minBlue | number | |
maxBlue | number |