프로퍼티 | 타입 | 설명 | |
---|---|---|---|
GetName | string |
메소드 | 설명 | |
---|---|---|
GetColor ( [ name ) : Optional |
Gets the color corresponding to the name; otherwise returns Optional{Color}.Unassigned.
|
|
RemoveName ( [ name ) : Optional |
Removes the custom color name.
|
|
SetName ( this color, [ name ) : void |
Sets a custom name for the color.
|
|
ToColor ( this color ) : Color |
Gets the Color of a ConsoleColor.
|
|
ToConsoleColor ( this color ) : ConsoleColor |
Converts a Color to the nearest ConsoleColor.
|
메소드 | 설명 | |
---|---|---|
GetName ( this color ) : string |
public static SetName ( this color, [ name ) : void | ||
color | this | The color. |
name | [ | The name. |
리턴 | void |
public static ToConsoleColor ( this color ) : ConsoleColor | ||
color | this | The color. |
리턴 | ConsoleColor |