Class GradientFill | Terminal.Gui v2 (original) (raw)
Namespace
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 providedgradient
and direction
.
Methods
Returns the color to use for the given point
or Black if it lies outside the prepared gradient area (see constructor).