Properties
declaredClass
declaredClass: string
destroyed
destroyed: boolean
height
height: number
initialized
initialized: boolean
mask
mask: number[] | Uint8Array
maskIsAlpha
maskIsAlpha: boolean
pixelType
pixelType: "unknown" | "s8" | "s16" | "s32" | "u8" | "u16" | "u32" | "f32" | "f64"
pixels
pixels: number[] | Float64Array | Float32Array | Uint8Array | Uint8ClampedArray | Uint32Array | Uint16Array | Int8Array | Int16Array | Int32Array
statistics
validPixelCount
validPixelCount: number
width
width: number
The height (or number of rows) of the PixelBlock in pixels.
Read more...