C# Class Graphics.TextBuffer

Inheritance: Graphics.Drawable
ファイルを表示 Open project: cartman300/SFMLTextBuffer

Public Methods

Method Description
Clear ( char C = (char)0 ) : void
Clear ( char C, Graphics.Color Fg, Graphics.Color Bg ) : void
Draw ( RenderTarget R, RenderStates S ) : void
Get ( int Idx ) : TextBufferEntry
Get ( int X, int Y ) : TextBufferEntry
Print ( int X, int Y, string Str ) : void
Print ( int X, int Y, string Str, Graphics.Color Fg, Graphics.Color Bg ) : void
Print ( int I, string Str ) : void
Print ( int I, string Str, Graphics.Color Fg, Graphics.Color Bg ) : void
Set ( int Idx, Graphics.Color Fg, Graphics.Color Bg ) : void
Set ( int Idx, char C, Graphics.Color Fg, Graphics.Color Bg ) : void
Set ( int X, int Y, Graphics.Color Fg, Graphics.Color Bg ) : void
Set ( int X, int Y, char C, Graphics.Color Fg, Graphics.Color Bg ) : void
SetFontTexture ( Texture Fnt ) : void
TextBuffer ( uint W, uint H, Texture Fnt, int CharW = 8, int CharH = 12 ) : SFML.Graphics
this ( int Idx ) : TextBufferEntry
this ( int X, int Y ) : TextBufferEntry

Private Methods

Method Description
Update ( ) : void

Method Details

Clear() public method

public Clear ( char C = (char)0 ) : void
C char
return void

Clear() public method

public Clear ( char C, Graphics.Color Fg, Graphics.Color Bg ) : void
C char
Fg Graphics.Color
Bg Graphics.Color
return void

Draw() public method

public Draw ( RenderTarget R, RenderStates S ) : void
R RenderTarget
S RenderStates
return void

Get() public method

public Get ( int Idx ) : TextBufferEntry
Idx int
return TextBufferEntry

Get() public method

public Get ( int X, int Y ) : TextBufferEntry
X int
Y int
return TextBufferEntry

Print() public method

public Print ( int X, int Y, string Str ) : void
X int
Y int
Str string
return void

Print() public method

public Print ( int X, int Y, string Str, Graphics.Color Fg, Graphics.Color Bg ) : void
X int
Y int
Str string
Fg Graphics.Color
Bg Graphics.Color
return void

Print() public method

public Print ( int I, string Str ) : void
I int
Str string
return void

Print() public method

public Print ( int I, string Str, Graphics.Color Fg, Graphics.Color Bg ) : void
I int
Str string
Fg Graphics.Color
Bg Graphics.Color
return void

Set() public method

public Set ( int Idx, Graphics.Color Fg, Graphics.Color Bg ) : void
Idx int
Fg Graphics.Color
Bg Graphics.Color
return void

Set() public method

public Set ( int Idx, char C, Graphics.Color Fg, Graphics.Color Bg ) : void
Idx int
C char
Fg Graphics.Color
Bg Graphics.Color
return void

Set() public method

public Set ( int X, int Y, Graphics.Color Fg, Graphics.Color Bg ) : void
X int
Y int
Fg Graphics.Color
Bg Graphics.Color
return void

Set() public method

public Set ( int X, int Y, char C, Graphics.Color Fg, Graphics.Color Bg ) : void
X int
Y int
C char
Fg Graphics.Color
Bg Graphics.Color
return void

SetFontTexture() public method

public SetFontTexture ( Texture Fnt ) : void
Fnt Texture
return void

TextBuffer() public method

public TextBuffer ( uint W, uint H, Texture Fnt, int CharW = 8, int CharH = 12 ) : SFML.Graphics
W uint
H uint
Fnt Texture
CharW int
CharH int
return SFML.Graphics

this() public method

public this ( int Idx ) : TextBufferEntry
Idx int
return TextBufferEntry

this() public method

public this ( int X, int Y ) : TextBufferEntry
X int
Y int
return TextBufferEntry