Skip to main content
Version: 1.x

@microsoft/fast-colors > PixelBox > (constructor)

PixelBox.(constructor)

Constructs a new instance of the PixelBox class

Signature:
constructor(globalHistogram: Histogram, minRed: number, maxRed: number, minGreen: number, maxGreen: number, minBlue: number, maxBlue: number);

Parameters

ParameterTypeDescription
globalHistogramHistogram
minRednumber
maxRednumber
minGreennumber
maxGreennumber
minBluenumber
maxBluenumber