C# Class PowerArgs.Cli.ConsoleBitmap

Inheritance: Rectangular
Show file Open project: adamabdelhamed/PowerArgs Class Usage Examples

Public Methods

Method Description
ConsoleBitmap ( Rectangle bounds, ConsoleCharacter bg = null ) : System
ConsoleBitmap ( int x, int y, int w, int h, ConsoleCharacter bg = null ) : System
CreateSnapshot ( ) : ConsoleSnapshot
DrawLine ( int x1, int y1, int x2, int y2 ) : void
DrawPoint ( int x, int y ) : void
DrawRect ( int x, int y, int w, int h ) : void
DrawString ( ConsoleString str, int x, int y, bool vert = false ) : void
DrawString ( string str, int x, int y, bool vert = false ) : void
FillRect ( int x, int y, int w, int h ) : void
GetDisposableLock ( ) : IDisposable
GetPixel ( int x, int y ) : ConsolePixel
GetScope ( ) : Rectangle
Invalidate ( ) : void
Lock ( ) : void
Paint ( ) : void
Rescope ( int xIncrement, int yIncrement, int w, int h ) : void
Resize ( int w, int h ) : void
Scope ( Rectangle bounds ) : void
ToString ( ) : string
Unlock ( bool paint = true ) : void

Private Methods

Method Description
CreateWiper ( ) : ConsoleWiper
DrawPixel ( int x, int y, ConsolePixel pixel, ConsoleCharacter value ) : void
IsInBounds ( int x, int y ) : bool
IsInScope ( int x, int y ) : bool

Method Details

ConsoleBitmap() public method

public ConsoleBitmap ( Rectangle bounds, ConsoleCharacter bg = null ) : System
bounds Rectangle
bg ConsoleCharacter
return System

ConsoleBitmap() public method

public ConsoleBitmap ( int x, int y, int w, int h, ConsoleCharacter bg = null ) : System
x int
y int
w int
h int
bg ConsoleCharacter
return System

CreateSnapshot() public method

public CreateSnapshot ( ) : ConsoleSnapshot
return ConsoleSnapshot

DrawLine() public method

public DrawLine ( int x1, int y1, int x2, int y2 ) : void
x1 int
y1 int
x2 int
y2 int
return void

DrawPoint() public method

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

DrawRect() public method

public DrawRect ( int x, int y, int w, int h ) : void
x int
y int
w int
h int
return void

DrawString() public method

public DrawString ( ConsoleString str, int x, int y, bool vert = false ) : void
str ConsoleString
x int
y int
vert bool
return void

DrawString() public method

public DrawString ( string str, int x, int y, bool vert = false ) : void
str string
x int
y int
vert bool
return void

FillRect() public method

public FillRect ( int x, int y, int w, int h ) : void
x int
y int
w int
h int
return void

GetDisposableLock() public method

public GetDisposableLock ( ) : IDisposable
return IDisposable

GetPixel() public method

public GetPixel ( int x, int y ) : ConsolePixel
x int
y int
return ConsolePixel

GetScope() public method

public GetScope ( ) : Rectangle
return Rectangle

Invalidate() public method

public Invalidate ( ) : void
return void

Lock() public method

public Lock ( ) : void
return void

Paint() public method

public Paint ( ) : void
return void

Rescope() public method

public Rescope ( int xIncrement, int yIncrement, int w, int h ) : void
xIncrement int
yIncrement int
w int
h int
return void

Resize() public method

public Resize ( int w, int h ) : void
w int
h int
return void

Scope() public method

public Scope ( Rectangle bounds ) : void
bounds Rectangle
return void

ToString() public method

public ToString ( ) : string
return string

Unlock() public method

public Unlock ( bool paint = true ) : void
paint bool
return void