ImageSharp/ImageSharp.Drawing/IInternalPathOwner.cs
2026-08-03 22:31:27 +02:00

20 lines
642 B
C#

// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
using System.Collections.Generic;
namespace SixLabors.ImageSharp.Drawing {
/// <summary>
/// An internal interface for shapes which are backed by <see cref="InternalPath"/>
/// so we can have a fast path tessellating them.
/// </summary>
internal interface IInternalPathOwner
{
/// <summary>
/// Returns the rings as a readonly collection of <see cref="InternalPath"/> elements.
/// </summary>
/// <returns>The <see cref="IReadOnlyList{T}"/>.</returns>
public IReadOnlyList<InternalPath> GetRingsAsInternalPath();
}
}