C# Class AtelierElieScripter.ResourceObjects.JapFontResourceObject

Singleton Resource Object to retrieve the Japanese Font
Inheritance: Abstract.IFontResourceObject
Afficher le fichier Open project: Markliujy/AtelierElieTranslation

Méthodes publiques

Méthode 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

Méthode Description
JapFontResourceObject ( ) : System

Initializes All Characters and TextBox

Method Details

GetChar() public méthode

Returns Bitmap of the specified Character
public GetChar ( uint chara ) : Bitmap
chara uint SJIS Character Number
Résultat System.Drawing.Bitmap

GetChoiceBox() public méthode

public GetChoiceBox ( int w ) : Bitmap
w int
Résultat System.Drawing.Bitmap

GetTextBitmap() public méthode

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
Résultat System.Drawing.Bitmap

GetTextWithBoxBitmap() public méthode

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

GetTextWithChoiceBoxBitmap() public méthode

public GetTextWithChoiceBoxBitmap ( string text ) : Bitmap
text string
Résultat System.Drawing.Bitmap