C# Class MingStar.SimUniversity.ConsoleUI.ConsolePixel

Exibir arquivo Open project: MingStar/SimUniversity Class Usage Examples

Public Properties

Property Type Description
BackColor ConsoleColor
Char char
EmptyPixel ConsolePixel
ForeColor ConsoleColor

Public Methods

Method Description
ConsolePixel ( char chr ) : System
GetEdgePixel ( Edge edge, char value ) : ConsolePixel
GetVertexPixel ( Vertex vertex ) : ConsolePixel
Transform ( System.Color color, bool isBack ) : ConsoleColor
Transform ( DegreeType degree ) : char

Private Methods

Method Description
ConsolePixel ( ) : System

Method Details

ConsolePixel() public method

public ConsolePixel ( char chr ) : System
chr char
return System

GetEdgePixel() public static method

public static GetEdgePixel ( Edge edge, char value ) : ConsolePixel
edge Edge
value char
return ConsolePixel

GetVertexPixel() public static method

public static GetVertexPixel ( Vertex vertex ) : ConsolePixel
vertex MingStar.SimUniversity.Board.Vertex
return ConsolePixel

Transform() public static method

public static Transform ( System.Color color, bool isBack ) : ConsoleColor
color System.Color
isBack bool
return ConsoleColor

Transform() public static method

public static Transform ( DegreeType degree ) : char
degree DegreeType
return char

Property Details

BackColor public_oe property

public ConsoleColor BackColor
return ConsoleColor

Char public_oe property

public char Char
return char

EmptyPixel public_oe static_oe property

public static ConsolePixel,MingStar.SimUniversity.ConsoleUI EmptyPixel
return ConsolePixel

ForeColor public_oe property

public ConsoleColor ForeColor
return ConsoleColor