@microsoft/fast-colors > PixelBlob
PixelBlob interface
Represents a blob of pixel data.
Signature:export interface PixelBlob
Properties
| Property | Type | Description |
|---|---|---|
| height | number | |
| totalPixels | number | |
| width | number |
Methods
| Method | Description |
|---|---|
| getPixel(x, y) | |
| getPixelRGBA(x, y) | Returns an array of 4 numbers in the range [0,255] in order RGBA |