Image

Represents an array of pixels

Constructors

this
this(uint width, uint height, uint fill)

Creates a new empty image with the specified width and height and optional fill

Members

Functions

linearize
uint[] linearize()

Gets a linear representation of the image according to the matrixOrder rule that is, if matrixOrder is RowMajor, then the image is given row by row if matrixOrder is ColumnMajor, then the image is given column by column

opIndex
uint opIndex(uint x, uint y)

Gets a reference to the pixel located at position (x, y)

Meta