// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Drawing.Brushes;
using SixLabors.ImageSharp.Drawing.Processors;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Drawing.Pens
{
///
/// Interface representing a Pen
///
/// The type of the color.
public interface IPen : IPen
where TPixel : struct, IPixel
{
///
/// Gets the stroke fill.
///
IBrush StrokeFill { get; }
}
///
/// Iterface represting the pattern and size of the stroke to apply with a Pen.
///
public interface IPen
{
///
/// Gets the width to apply to the stroke
///
float StrokeWidth { get; }
///
/// Gets the stoke pattern.
///
System.ReadOnlySpan StrokePattern { get; }
}
}