The TerminalPalette type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TerminalPalette()()()() |
Creates a palette with standard ANSI colors in the first 16 entries and xterm colors in the higher 240 entries.
| |
| TerminalPalette(Int32) |
Creates a palette with standard ANSI colors in the first 16 entries and xterm colors in the higher 240 entries.
Useful for specifying custom colors above 256 system colors.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetColor |
Gets the palette color at the specified index.
| |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetColor | ||
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Ansi |
Gets the palette with standard ANSI colors in the first 16 entries and xterm colors in the higher entries.
| |
| Dos |
Gets the palette with standard MS-DOS colors in the first 16 entries and xterm colors in the higher entries.
| |
| Item |
Gets the palette color at the specified index.
| |
| Pick |
Gets the palette with standard Pick colors in the first 16 entries and xterm colors in the higher entries.
| |
| Sco |
Gets the palette with standard SCO colors in the first 16 entries and xterm colors in the higher entries.
|