@microsoft/fast-colors > PixelBlob > getPixelRGBA
PixelBlob.getPixelRGBA() method
Returns an array of 4 numbers in the range [0,255] in order RGBA
Signature:getPixelRGBA(x: number, y: number): number[];
Parameters
Parameter | Type | Description |
---|---|---|
x | number | |
y | number |
number[]