//
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
//
namespace ImageSharp.Drawing.Pens
{
using System;
using Processors;
///
/// Interface representing a Pen
///
/// The type of the color.
public interface IPen
where TColor : struct, IPackedPixel, IEquatable
{
///
/// Creates the applicator for applying this pen to an Image
///
/// The pixel source.
/// The region the pen will be applied to.
///
/// Returns a the applicator for the pen.
///
///
/// The when being applied to things like shapes would usually be the bounding box of the shape not necessarily the shape of the whole image.
///
IPenApplicator CreateApplicator(PixelAccessor pixelSource, RectangleF region);
}
}