IHex1bTerminalRegion
Namespace: Hex1b.Automation
Assembly: Hex1b.dll
Common interface for terminal snapshot and snapshot regions. Provides core cell access and region extraction.
csharp
public interface IHex1bTerminalRegionProperties
Height
The height of this region.
Returns: Int32
csharp
int Height { get; }Width
The width of this region.
Returns: Int32
csharp
int Width { get; }Methods
GetCell(int, int)
Gets the cell at the specified position within this region.
Parameters:
Returns: TerminalCell
The terminal cell, or if out of bounds.
csharp
TerminalCell GetCell(int x, int y)GetRegion(Rect)
Gets a sub-region with localized coordinates.
Parameters:
bounds(Rect): The bounds of the region to extract, relative to this region.
Returns: Hex1bTerminalSnapshotRegion
A region view that translates local coordinates.
csharp
Hex1bTerminalSnapshotRegion GetRegion(Rect bounds)