26 lines
766 B
C#
26 lines
766 B
C#
// Copyright (c) Six Labors.
|
|
// Licensed under the Six Labors Split License.
|
|
|
|
using System.Collections.Generic;
|
|
using System.Numerics;
|
|
|
|
namespace SixLabors.ImageSharp.Drawing {
|
|
/// <summary>
|
|
/// Represents a logic path that can be drawn
|
|
/// </summary>
|
|
public interface IPathCollection : IEnumerable<IPath>
|
|
{
|
|
/// <summary>
|
|
/// Gets the bounds enclosing the path
|
|
/// </summary>
|
|
public RectangleF Bounds { get; }
|
|
|
|
/// <summary>
|
|
/// Transforms the path using the specified matrix.
|
|
/// </summary>
|
|
/// <param name="matrix">The matrix.</param>
|
|
/// <returns>A new path collection with the matrix applied to it.</returns>
|
|
public IPathCollection Transform(Matrix4x4 matrix);
|
|
}
|
|
}
|