using Terminal.Gui.Drawing; namespace Terminal.Gui; /// /// Describes a pair of which cooperate in creating /// . One gives foreground color while other gives background. /// public class FillPair { public FillPair (GradientFill fore, SolidFill back) { Foreground = fore; Background = back; } IFill Foreground { get; set; } IFill Background { get; set; } internal Attribute? GetAttribute (Point point) { return new Attribute ( Foreground.GetColor (point), Background.GetColor (point) ); } }