Files
Terminal.Gui/Terminal.Gui/Drawing/IntersectionDefinition.cs
2024-02-20 17:20:54 -07:00

20 lines
598 B
C#

namespace Terminal.Gui;
internal class IntersectionDefinition
{
internal IntersectionDefinition (Point point, IntersectionType type, StraightLine line)
{
Point = point;
Type = type;
Line = line;
}
/// <summary>The line that intersects <see cref="Point"/></summary>
internal StraightLine Line { get; }
/// <summary>The point at which the intersection happens</summary>
internal Point Point { get; }
/// <summary>Defines how <see cref="Line"/> position relates to <see cref="Point"/>.</summary>
internal IntersectionType Type { get; }
}