Table of Contents

Class GradientFill

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Implementation of IFill that uses a color gradient (including radial, diagonal etc.).

public class GradientFill : IFill
Inheritance
GradientFill
Implements
Inherited Members

Constructors

GradientFill(Rectangle, Gradient, GradientDirection)

Creates a new instance of the GradientFill class that can return color for any point in the given area using the provided gradient and direction.

Methods

GetColor(Point)

Returns the color to use for the given point or Black if it lies outside the prepared gradient area (see constructor).