C# Class AtelierElieScripter.ResourceObjects.EngFontResourceObject

Description of EngFontResourceObject.
Inheritance: Abstract.IFontResourceObject
Show file Open project: Markliujy/AtelierElieTranslation

Public Methods

Method Description
GetChar ( int character ) : Bitmap
GetChoiceBox ( int w ) : Bitmap
GetTextBitmap ( string text, int maxWidth, int noLines, int lineSpacing ) : Bitmap

Returns Bitmap of Text

GetTextWithBoxBitmap ( string text, int nameId ) : Bitmap

GetTextWithBoxBitmap

GetTextWithChoiceBoxBitmap ( string text ) : Bitmap
GetWidth ( int character ) : int
GetWidth ( string text ) : int

Private Methods

Method Description
EngFontResourceObject ( ) : System

Method Details

GetChar() public method

public GetChar ( int character ) : Bitmap
character int
return System.Drawing.Bitmap

GetChoiceBox() public method

public GetChoiceBox ( int w ) : Bitmap
w int
return System.Drawing.Bitmap

GetTextBitmap() public method

Returns Bitmap of Text
public GetTextBitmap ( string text, int maxWidth, int noLines, int lineSpacing ) : Bitmap
text string Text to draw
maxWidth int Maximum Width
noLines int Lines to Draw
lineSpacing int Spacing between lines
return System.Drawing.Bitmap

GetTextWithBoxBitmap() public method

GetTextWithBoxBitmap
public GetTextWithBoxBitmap ( string text, int nameId ) : Bitmap
text string Text String
nameId int Name Id int
return System.Drawing.Bitmap

GetTextWithChoiceBoxBitmap() public method

public GetTextWithChoiceBoxBitmap ( string text ) : Bitmap
text string
return System.Drawing.Bitmap

GetWidth() public method

public GetWidth ( int character ) : int
character int
return int

GetWidth() public method

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