C# Class GraphicsEngine.Graphics.Kernel32ConsoleWindow

Inheritance: IConsoleWindow
Afficher le fichier Open project: ckarcz/GraphicsEngine Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( byte character = null, ushort color = null ) : void
GetCharacter ( int x, int y ) : byte
GetColor ( int x, int y ) : ushort
Kernel32ConsoleWindow ( int width, int height, string title, ushort colors = Kernel32Console.DefaultColors.Background.BLACK|Kernel32Console.DefaultColors.Foreground.WHITE ) : System
Set ( int x, int y, byte character, ushort color ) : void
SetCharacter ( int x, int y, byte character ) : void
SetColor ( int x, int y, ushort color ) : void
SetCursor ( int x, int y ) : void
ShowCursor ( bool showCursor ) : void
Update ( ) : void

Method Details

Clear() public méthode

public Clear ( byte character = null, ushort color = null ) : void
character byte
color ushort
Résultat void

GetCharacter() public méthode

public GetCharacter ( int x, int y ) : byte
x int
y int
Résultat byte

GetColor() public méthode

public GetColor ( int x, int y ) : ushort
x int
y int
Résultat ushort

Kernel32ConsoleWindow() public méthode

public Kernel32ConsoleWindow ( int width, int height, string title, ushort colors = Kernel32Console.DefaultColors.Background.BLACK|Kernel32Console.DefaultColors.Foreground.WHITE ) : System
width int
height int
title string
colors ushort
Résultat System

Set() public méthode

public Set ( int x, int y, byte character, ushort color ) : void
x int
y int
character byte
color ushort
Résultat void

SetCharacter() public méthode

public SetCharacter ( int x, int y, byte character ) : void
x int
y int
character byte
Résultat void

SetColor() public méthode

public SetColor ( int x, int y, ushort color ) : void
x int
y int
color ushort
Résultat void

SetCursor() public méthode

public SetCursor ( int x, int y ) : void
x int
y int
Résultat void

ShowCursor() public méthode

public ShowCursor ( bool showCursor ) : void
showCursor bool
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void