Image class constructor
Image width in pixels
Image height in pixels
Generic Image data
Amount of Image channels
Image identifier
Number of bits per single pixel
Total number of bytes per image line
An images color mode, defaults to ColorMode.BGR
Object containing scale info to work with e.g. Retina display data where the reported display size and pixel size differ (Default: {scaleX: 1.0, scaleY: 1.0})
Readonly
bitsNumber of bits per single pixel
Readonly
byteTotal number of bytes per image line
Readonly
channelsAmount of Image channels
Readonly
colorAn images color mode, defaults to ColorMode.BGR
Readonly
dataGeneric Image data
Readonly
heightImage height in pixels
Readonly
idImage identifier
Readonly
pixelObject containing scale info to work with e.g. Retina display data where the reported display size and pixel size differ (Default: {scaleX: 1.0, scaleY: 1.0})
Readonly
widthImage width in pixels
hasAlphaChannel return true if an Image has an additional (fourth) alpha channel
Static
fromRGBDatafromRGBData creates an Image from provided RGB data
Generated using TypeDoc
The Image class represents generic image data