Constructor Attribute
Attribute()
Initializes a new instance with default values.
public Attribute()
Attribute(in Attribute)
Initializes a new instance from an existing instance.
public Attribute(in Attribute attr)
Parameters
attr
Attribute
Attribute(in Color, in Color)
Initializes a new instance of the Attribute struct.
public Attribute(in Color foreground, in Color background)
Parameters
Attribute(in ColorName16, in ColorName16)
Initializes a new instance of the Attribute struct.
public Attribute(in ColorName16 foregroundName, in ColorName16 backgroundName)
Parameters
foregroundName
ColorName16Foreground
backgroundName
ColorName16Background
Attribute(in ColorName16, in Color)
Initializes a new instance of the Attribute struct.
public Attribute(in ColorName16 foregroundName, in Color background)
Parameters
foregroundName
ColorName16Foreground
background
ColorBackground
Attribute(in Color, in ColorName16)
Initializes a new instance of the Attribute struct.
public Attribute(in Color foreground, in ColorName16 backgroundName)
Parameters
foreground
ColorForeground
backgroundName
ColorName16Background
Attribute(in Color)
Initializes a new instance of the Attribute struct with the same colors for the foreground and background.
public Attribute(in Color color)
Parameters
color
ColorThe color.