Table of Contents

Class FillPair

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Describes a pair of IFill which cooperate in creating Attribute. One gives foreground color while other gives background.

public class FillPair
Inheritance
FillPair
Inherited Members

Constructors

FillPair(IFill, IFill)

Creates a new instance using the provided fills for foreground and background color when assembling Attribute.

Properties

Background

The fill which provides point based background color.

Foreground

The fill which provides point based foreground color.

Methods

GetAttribute(Point)

Returns the color pair (foreground+background) to use when rendering a rune at the given point.