20 lines
642 B
C#
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();
|
|
}
|
|
}
|