// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing
{
///
/// Interface representing a Pen
///
/// The type of the color.
public interface IPen : IPen
where TPixel : struct, IPixel
{
///
/// Gets the stroke fill.
///
IBrush StrokeFill { get; }
}
///
/// Interface representing 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.
///
ReadOnlySpan StrokePattern { get; }
}
}