Table of Contents

Method BuildCoordinateColorMapping

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

BuildCoordinateColorMapping(int, int, GradientDirection)

Creates a mapping starting at 0,0 and going to maxRow and maxColumn (inclusively) using the supplied direction.

Note that this method is inclusive i.e. passing 1/1 results in 4 mapped coordinates.

public Dictionary<Point, Color> BuildCoordinateColorMapping(int maxRow, int maxColumn, GradientDirection direction)

Parameters

maxRow int
maxColumn int
direction GradientDirection

Returns

Dictionary<Point, Color>