TerminalGraphicsImpact
Namespace: Hex1b.Tokens
Assembly: Hex1b.dll
Captures a terminal graphics placement or damage region.
csharp
public readonly record struct TerminalGraphicsImpact : IEquatable<TerminalGraphicsImpact>Implements
Constructors
TerminalGraphicsImpact(TerminalGraphicsImpactKind, int, int, int, int)
Captures a terminal graphics placement or damage region.
Parameters:
Kind(TerminalGraphicsImpactKind): The kind of graphics change.X(Int32): The left column of the affected region.Y(Int32): The top row of the affected region.Width(Int32): The affected width in columns.Height(Int32): The affected height in rows.
csharp
public TerminalGraphicsImpact(TerminalGraphicsImpactKind Kind, int X, int Y, int Width, int Height)Properties
Height
The affected height in rows.
Returns: Int32
csharp
public int Height { get; init; }Kind
The kind of graphics change.
Returns: TerminalGraphicsImpactKind
csharp
public TerminalGraphicsImpactKind Kind { get; init; }Width
The affected width in columns.
Returns: Int32
csharp
public int Width { get; init; }X
The left column of the affected region.
Returns: Int32
csharp
public int X { get; init; }Y
The top row of the affected region.
Returns: Int32
csharp
public int Y { get; init; }