Share via


PixelRegion Class

Represents a region of pixels within a pixel array and contains metrics and helper methods for traversing them.

Namespace: Lumia.Imaging.Custom
Assembly: Lumia.Imaging.Managed (in Lumia.Imaging.Managed.dll) Version: 0.0.0.0

Syntax

public class PixelRegion
'Declaration
Public Class PixelRegion
public ref class PixelRegion
Lumia.Imaging.Custom.PixelRegion = function();

Type.createClass(
    'Lumia.Imaging.Custom.PixelRegion');

Examples

pixelRegion.ForEachRow((index, width, pos) =>
{
    for (int x = 0; x < width; ++x, ++index)
    {
        targetPixels[index] = sourcePixels[index]; // Do nothing, just pass through the pixel.
    }
});

Inheritance Hierarchy

System.Object
  Lumia.Imaging.Custom.PixelRegion

Version Information

Lumia Imaging SDK

Supported in: 2.0

See Also

PixelRegion.PixelRegion Members

Lumia.Imaging.Custom Namespace