Method BuildCoordinateColorMapping
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
intmaxColumn
intdirection
GradientDirection