//
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
//
namespace ImageProcessorCore
{
using System;
///
/// Encapsulates properties to provides per-pixel access to an images pixels.
///
public interface IPixelAccessor : IDisposable
{
///
/// Gets or sets the pixel at the specified position.
///
///
/// The x-coordinate of the pixel. Must be greater
/// than zero and smaller than the width of the pixel.
///
///
/// The y-coordinate of the pixel. Must be greater
/// than zero and smaller than the width of the pixel.
///
/// The at the specified position.
IPackedVector this[int x, int y]
{
get;
set;
}
}
}