Click or drag to resize

IDirectScanlineAccessIsContiguous Property

Indicates whether or not the PixelMemory is contiguous in memory.

Namespace:  Atalasoft.Imaging.Memory
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
bool IsContiguous { get; }

Property Value

Type: Boolean
True is the PixelMemory is contiguous, false otherwise.
If a PixelMemory object implements IDirectScanlineAccess and IsContiguous is true, then it is safe to assume that any part of an image can be addressed by using a pointer to the 0th scanline and the images RowStride to calculate the address.
See Also