Table of Contents

Method IsValidLocation

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

IsValidLocation(int, int)

Tests whether the specified coordinate are valid for drawing.

public bool IsValidLocation(int col, int row)

Parameters

col int

The column.

row int

The row.

Returns

bool

false if the coordinate is outside the screen bounds or outside of Clip. true otherwise.

IsValidLocation(Rune, int, int)

Tests whether the specified coordinate are valid for drawing the specified Rune.

public bool IsValidLocation(Rune rune, int col, int row)

Parameters

rune Rune

Used to determine if one or two columns are required.

col int

The column.

row int

The row.

Returns

bool

false if the coordinate is outside the screen bounds or outside of Clip. true otherwise.