Rows

Members

Functions

opSlice
ImageView opSlice(size_t left, size_t right)

ditto

Inherited Members

From ImageView

width
size_t width [@property getter]

The width of the view.

height
size_t height [@property getter]

The height of the view.

opDollar
size_t opDollar()

The height or the width of the view, depending on in which slice it's used.

opIndex
Pixels opIndex(size_t row)
opIndexAssign
void opIndexAssign(Color color, size_t index)

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

opSlice
ImageView opSlice()
ImageView opSlice(size_t upper, size_t lower)
opSliceAssign
void opSliceAssign(Color color)
void opSliceAssign(Color color, size_t upper, size_t lower)

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

opApply
int opApply(int delegate(Pixels) dg)

Support the usage of foreach to loop over the rows in the view. The foreach is executed in parallel.

Meta