PCanvasPixels.fromPixels constructor
PCanvasPixels.fromPixels(
- int width,
- int height,
- Uint32List pixels
Construct a PCanvasPixels from pixels
.
pixels
is expected to be an Uint32List in the same format of this class implementation.
Implementation
PCanvasPixels.fromPixels(this.width, this.height, this.pixels);