ImageSharp/PolygonClipper/PointInPolygonResult.cs
2026-08-03 22:31:27 +02:00

26 lines
609 B
C#

// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
namespace SixLabors.PolygonClipper {
/// <summary>
/// Describes the relationship between a point and a polygon.
/// </summary>
internal enum PointInPolygonResult
{
/// <summary>
/// The point lies on the polygon boundary.
/// </summary>
On = 0,
/// <summary>
/// The point lies strictly inside the polygon.
/// </summary>
Inside = 1,
/// <summary>
/// The point lies outside the polygon.
/// </summary>
Outside = 2
}
}