C# Class Ultima.ASCIIFont

Exibir arquivo Open project: polserver/poltools Class Usage Examples

Public Methods

Method Description
ASCIIFont ( byte header ) : System.Drawing
GetBitmap ( char character ) : Bitmap

Gets Bitmap of given character

GetFixed ( int font ) : ASCIIFont
GetWidth ( string text ) : int
ReplaceCharacter ( int character, Bitmap import ) : void

Method Details

ASCIIFont() public method

public ASCIIFont ( byte header ) : System.Drawing
header byte
return System.Drawing

GetBitmap() public method

Gets Bitmap of given character
public GetBitmap ( char character ) : Bitmap
character char
return System.Drawing.Bitmap

GetFixed() public static method

public static GetFixed ( int font ) : ASCIIFont
font int
return ASCIIFont

GetWidth() public method

public GetWidth ( string text ) : int
text string
return int

ReplaceCharacter() public method

public ReplaceCharacter ( int character, Bitmap import ) : void
character int
import System.Drawing.Bitmap
return void