Метод | Описание | |
---|---|---|
AnsiAdjustColor ( Microsoft.Xna.Framework.Color input, bool bold ) : Microsoft.Xna.Framework.Color |
Adjusts the provided color based on the Attribute_Bold value. If the color provided is not an ansi color, dark or light, the passed in color will be returned. |
|
AnsiConfigurePrintColor ( bool isBackground, int code, |
Sets the print appearance of the cursor based on the ANSI.SYS code provided.
|
|
AnsiJustNormalColor ( Microsoft.Xna.Framework.Color input ) : Microsoft.Xna.Framework.Color |
Returns the a normal, dark, ansi color based on the ansi color provided. If the color provided is not an ansi color, dark or light, the passed in color will be returned. |
public static AnsiAdjustColor ( Microsoft.Xna.Framework.Color input, bool bold ) : Microsoft.Xna.Framework.Color | ||
input | Microsoft.Xna.Framework.Color | The ansi color to adjust. |
bold | bool | |
Результат | Microsoft.Xna.Framework.Color |
public static AnsiConfigurePrintColor ( bool isBackground, int code, |
||
isBackground | bool | When true, changes the background color instead of the foreground. |
code | int | The 0-7 color code. |
ansiState | ||
Результат | void |
public static AnsiJustNormalColor ( Microsoft.Xna.Framework.Color input ) : Microsoft.Xna.Framework.Color | ||
input | Microsoft.Xna.Framework.Color | An ansi color. |
Результат | Microsoft.Xna.Framework.Color |