Table of Contents

Method GetMap

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

GetMap(Rectangle)

Evaluates the lines that have been added to the canvas and returns a map containing the glyphs and their locations. The glyphs are the characters that should be rendered so that all lines connect up with the appropriate intersection symbols.

public Dictionary<Point, Rune> GetMap(Rectangle inArea)

Parameters

inArea Rectangle

A rectangle to constrain the search by.

Returns

Dictionary<Point, Rune>

A map of the points within the canvas that intersect with inArea.

Remarks

Only the points within the inArea of the canvas that are not in the exclusion region will be returned. To exclude points from the map, use Exclude(Region).

GetMap()

Evaluates the lines that have been added to the canvas and returns a map containing the glyphs and their locations. The glyphs are the characters that should be rendered so that all lines connect up with the appropriate intersection symbols.

public Dictionary<Point, Rune> GetMap()

Returns

Dictionary<Point, Rune>

A map of all the points within the canvas.

Remarks

Only the points within the Bounds of the canvas that are not in the exclusion region will be returned. To exclude points from the map, use Exclude(Region).