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

26 lines
557 B
C#

// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
namespace SixLabors.ImageSharp.Drawing {
/// <summary>
/// Represents the orientation of a point from a line.
/// </summary>
internal enum PointOrientation
{
/// <summary>
/// The point is collinear.
/// </summary>
Collinear = 0,
/// <summary>
/// The point is clockwise.
/// </summary>
Clockwise = 1,
/// <summary>
/// The point is counter-clockwise.
/// </summary>
Counterclockwise = 2
}
}