Function RasterView.region

Resident descriptor-space region represented by this view.

Region2D region() const pure nothrow @nogc @property @safe;

Example

Example reading the represented region.

import raster;
RasterView!ubyte view;
assert(view.region == Region2D.init);