Pixels

Row reprecents a singe row of pixels in an ImageView.

Constructors

this
this(Image image, ssize_t x, ssize_t y, size_t columns, size_t rows)

Get the pixels of the specifies area in the image.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Postblit

A postblit is present on this object, but not explicitly documented in the source.

Members

Functions

opApply
int opApply(int delegate(ref T) dg)

Support using foreach on a row.

opDollar
size_t opDollar()

The number of pixels in this row / column.

opIndex
Color opIndex(size_t pixel)
opIndexAssign
void opIndexAssign(Color color, size_t index)

Indexing operators yield or modify the value at a specified index.

opSilce
Pixels opSilce(size_t left, size_t right)

Sliceing operators yield or modify the value in the specified slice.

opSlice
Pixels opSlice()
opSliceAssign
void opSliceAssign(Color color, size_t left, size_t right)
void opSliceAssign(Color color)

Sliceing operators yield or modify the value in the specified slice.

sync
void sync()

Sync the pixels back to the image. The destructor does this for you.

Properties

length
size_t length [@property getter]

The number of pixels in this row / column.

Meta