namespace Terminal.Gui.Drawing;
///
/// implementation that uses a solid color for all points
///
public class SolidFill : IFill
{
readonly Color _color;
///
/// Creates a new instance of the class which will return
/// the provided regardless of which point is requested.
///
///
public SolidFill (Color color)
{
_color = color;
}
///
/// Returns the color this instance was constructed with regardless of
/// which is being colored.
///
///
///
public Color GetColor (Point point)
{
return _color;
}
}