mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-29 09:18:01 +01:00
20 lines
598 B
C#
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; }
|
|
} |