Skip to main content
Version: 1.x

@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

ParameterTypeDescription
xnumber
ynumber
Returns:

number[]