C# Class ManicDigger.TextRenderer

Afficher le fichier Open project: GlennMR/800Craft-Client

Méthodes publiques

Свойство Type Description
NewFont bool

Méthodes publiques

Méthode Description
DecodeColors ( String s, FastColor defaultcolor ) : List
MakeTextTexture ( Text t ) : Bitmap
MeasureTextSize ( string text, Font font ) : SizeF

Private Methods

Méthode Description
GetColor ( int currentcolor ) : FastColor
GetStringPath ( string s, float emSize, RectangleF rect, Font font, StringFormat format ) : GraphicsPath
HexToInt ( char c ) : int?
NextPowerOfTwo ( uint x ) : uint

Method Details

DecodeColors() public méthode

public DecodeColors ( String s, FastColor defaultcolor ) : List
s String
defaultcolor FastColor
Résultat List

MakeTextTexture() public méthode

public MakeTextTexture ( Text t ) : Bitmap
t Text
Résultat System.Drawing.Bitmap

MeasureTextSize() public méthode

public MeasureTextSize ( string text, Font font ) : SizeF
text string
font System.Drawing.Font
Résultat System.Drawing.SizeF

Property Details

NewFont public_oe property

public bool NewFont
Résultat bool