libtcod-net
Console Class
NamespaceslibtcodWrapperConsole
Represents any console, either on screen or off
Declaration Syntax
C#
public class Console : IDisposable
Members
All MembersMethodsProperties



IconMemberDescription
BackgroundColor
Gets/sets the default background color of the console.

Blit(Int32, Int32, Int32, Int32, Console, Int32, Int32)
Blit console onto another console

Blit(Int32, Int32, Int32, Int32, Console, Int32, Int32, Int32)
Blit console onto another console

Clear()()()
Clear the console by setting each cell to default background, foreground color, and ascii value to ' '

Dispose()()()
Destory unmanaged console resources

DrawFrame(Int32, Int32, Int32, Int32, Boolean, String)
Draw "Frame" with title onto console

DrawFrame(Int32, Int32, Int32, Int32, Boolean)
Draw "Frame" with title onto console

DrawHLine(Int32, Int32, Int32)
Draw horizontal line using default background/foreground color

DrawRect(Int32, Int32, Int32, Int32, Boolean, Background)
Draw rectangle of color to console, setting background color to default

DrawRect(Int32, Int32, Int32, Int32, Boolean)
Draw rectangle of color to console, setting background color to default

DrawVLine(Int32, Int32, Int32)
Draw vertical line using default background/foreground color

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
ForegroundColor
Gets/sets the default foreground color of the console.

GetChar(Int32, Int32)
Get ascii value of single cell

GetCharBackground(Int32, Int32)
Get Background of single cell

GetCharForeground(Int32, Int32)
Get Forground of single cell

GetConsoleHeight()()()
Returns console's height

GetConsoleWidth()()()
Returns console's width

GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
PrintLine(String, Int32, Int32, LineAlignment)
Print string to line of console, using default foreground/background colors

PrintLine(String, Int32, Int32, Background, LineAlignment)
Print string to line of console, using default foreground/background colors

PrintLineRect(String, Int32, Int32, Int32, Int32, LineAlignment)
Print aligned string inside the defined rectangle, truncating if bottom is reached

PrintLineRect(String, Int32, Int32, Int32, Int32, Background, LineAlignment)
Print aligned string inside the defined rectangle, truncating if bottom is reached

PutChar(Int32, Int32, Char, Background)
Put ascii character onto console

PutChar(Int32, Int32, Byte, Background)
Put ascii character onto console

PutChar(Int32, Int32, Char)
Put ascii character onto console

PutChar(Int32, Int32, Byte)
Put ascii character onto console

SetCharBackground(Int32, Int32, Color, Background)
Set background color of single cell

SetCharBackground(Int32, Int32, Color)
Set background color of single cell

SetCharForeground(Int32, Int32, Color)
Set foreground color of single cell

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy

Assembly: libtcodWrapper (Module: libtcodWrapper) Version: 0.2.0.0 (0.2.0.0)