C# Class AtelierElieScripter.ResourceObjects.JapFontResourceObject

Singleton Resource Object to retrieve the Japanese Font
Inheritance: Abstract.IFontResourceObject
Mostra file Open project: Markliujy/AtelierElieTranslation

Public Methods

Method Description
GetChar ( uint chara ) : Bitmap

Returns Bitmap of the specified Character

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

Private Methods

Method Description
JapFontResourceObject ( ) : System

Initializes All Characters and TextBox

Method Details

GetChar() public method

Returns Bitmap of the specified Character
public GetChar ( uint chara ) : Bitmap
chara uint SJIS Character Number
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