C# Класс GraphicsEngine.Graphics.Kernel32ConsoleWindow

Наследование: IConsoleWindow
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Clear() публичный Метод

public Clear ( byte character = null, ushort color = null ) : void
character byte
color ushort
Результат void

GetCharacter() публичный Метод

public GetCharacter ( int x, int y ) : byte
x int
y int
Результат byte

GetColor() публичный Метод

public GetColor ( int x, int y ) : ushort
x int
y int
Результат ushort

Kernel32ConsoleWindow() публичный Метод

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
Результат System

Set() публичный Метод

public Set ( int x, int y, byte character, ushort color ) : void
x int
y int
character byte
color ushort
Результат void

SetCharacter() публичный Метод

public SetCharacter ( int x, int y, byte character ) : void
x int
y int
character byte
Результат void

SetColor() публичный Метод

public SetColor ( int x, int y, ushort color ) : void
x int
y int
color ushort
Результат void

SetCursor() публичный Метод

public SetCursor ( int x, int y ) : void
x int
y int
Результат void

ShowCursor() публичный Метод

public ShowCursor ( bool showCursor ) : void
showCursor bool
Результат void

Update() публичный Метод

public Update ( ) : void
Результат void