//
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
//
namespace ImageSharp.Drawing.Processors
{
using System;
using System.Numerics;
///
/// primitive that converts a point in to a color for discovering the fill color based on an implementation
///
/// The pixel format.
///
public abstract class BrushApplicator : IDisposable // disposable will be required if/when there is an ImageBrush
where TColor : struct, IPackedPixel, IEquatable
{
///
/// Gets the color for a single pixel.
///
/// The x.
/// The y.
///
/// The color
///
public abstract TColor this[int x, int y] { get; }
///
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
///
public abstract void Dispose();
}
}