mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
701 B
28 lines
701 B
// Copyright (c) Six Labors and contributors.
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
using System;
|
|
|
|
namespace SixLabors.ImageSharp.Processing
|
|
{
|
|
/// <summary>
|
|
/// Interface representing the pattern and size of the stroke to apply with a Pen.
|
|
/// </summary>
|
|
public interface IPen
|
|
{
|
|
/// <summary>
|
|
/// Gets the stroke fill.
|
|
/// </summary>
|
|
IBrush StrokeFill { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the width to apply to the stroke
|
|
/// </summary>
|
|
float StrokeWidth { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the stoke pattern.
|
|
/// </summary>
|
|
ReadOnlySpan<float> StrokePattern { get; }
|
|
}
|
|
}
|