Surface

Digital mplementation of images.

Constructors

this
this(T width, U height)

Members

Functions

getPixels
auto getPixels()
getPixelsRange
auto getPixelsRange()

Create pixel's range and return it;

initialize
void initialize(RGBColor color)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
RGBColor opIndex(T i)
opIndex
RGBColor opIndex(T i, U j)

Like opIndex. For two indexes

opIndexAssign
void opIndexAssign(RGBColor rgbColor, T i)
opIndexAssign
void opIndexAssign(RGBColor rgbColor, T i, U j)

Like opIndexAssign. For two indexes.

Properties

dup
Surface dup [@property getter]
idup
immutable(Surface) idup [@property getter]

Meta