C# Class fCraft.FontHandler

Afficher le fichier Open project: GlennMR/800craft Class Usage Examples

Méthodes publiques

Свойство Type Description
blockCount int
player Player

Méthodes publiques

Méthode Description
CreateGraphicsAndDraw ( string Sentence ) : void
Crop ( Bitmap bmp ) : Bitmap
Draw ( Bitmap img ) : void
FontHandler ( Block textColor, Vector3I Marks, Player p, Direction dir ) : System
MeasureTextSize ( string text, Font font ) : SizeF

Private Methods

Méthode Description
DrawOneBlock ( Player player, Map map, Block drawBlock, Vector3I coord, BlockChangeContext context, int &blocks, int &blocksDenied, fCraft undoState ) : void

Method Details

CreateGraphicsAndDraw() public méthode

public CreateGraphicsAndDraw ( string Sentence ) : void
Sentence string
Résultat void

Crop() public static méthode

public static Crop ( Bitmap bmp ) : Bitmap
bmp System.Drawing.Bitmap
Résultat System.Drawing.Bitmap

Draw() public méthode

public Draw ( Bitmap img ) : void
img System.Drawing.Bitmap
Résultat void

FontHandler() public méthode

public FontHandler ( Block textColor, Vector3I Marks, Player p, Direction dir ) : System
textColor Block
Marks Vector3I
p Player
dir Direction
Résultat System

MeasureTextSize() public static méthode

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

Property Details

blockCount public_oe property

public int blockCount
Résultat int

player public_oe property

public Player,fCraft player
Résultat Player