ColourImageData Constructors
Initializes an image by copying row-major pixels.
public ColourImageData(int width, int height, Colour[] pixels);
Parameters
| Name | Type | Description |
|---|---|---|
width |
Int32 |
The width in pixels. |
height |
Int32 |
The height in pixels. |
pixels |
Colour[] |
Exactly width times height colours, starting at the top-left. |