C# Class GraphicsEngine.Graphics.Kernel32ConsoleWindow

Inheritance: IConsoleWindow
Exibir arquivo Open project: ckarcz/GraphicsEngine Class Usage Examples

Public Methods

Method 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 method

public Clear ( byte character = null, ushort color = null ) : void
character byte
color ushort
return void

GetCharacter() public method

public GetCharacter ( int x, int y ) : byte
x int
y int
return byte

GetColor() public method

public GetColor ( int x, int y ) : ushort
x int
y int
return ushort

Kernel32ConsoleWindow() public method

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
return System

Set() public method

public Set ( int x, int y, byte character, ushort color ) : void
x int
y int
character byte
color ushort
return void

SetCharacter() public method

public SetCharacter ( int x, int y, byte character ) : void
x int
y int
character byte
return void

SetColor() public method

public SetColor ( int x, int y, ushort color ) : void
x int
y int
color ushort
return void

SetCursor() public method

public SetCursor ( int x, int y ) : void
x int
y int
return void

ShowCursor() public method

public ShowCursor ( bool showCursor ) : void
showCursor bool
return void

Update() public method

public Update ( ) : void
return void