C# Class CustomFontRenderingForm.SpriteSheet

Afficher le fichier Open project: EgoMoose/Rbx_CustomFont Class Usage Examples

Méthodes publiques

Свойство Type Description
characters string
family string

Méthodes publiques

Méthode Description
SpriteSheet ( SharpFont.Face faces, string characters, int sizes, string family ) : System
generateAtlases ( string outputPath, int maxWidth, int maxHeight, bool genJSON, bool genRBXLua ) : void

Private Methods

Méthode Description
getKernWidthHeight ( SharpFont.Face face, FontInfo info, int &width, int &maxHeight, int &firstAdjust ) : void
getStyles ( ) : string[]
prepOutputDataJSON ( ) : string
prepOutputDataLua ( ) : string
renderCharacter ( SharpFont.Face face, char character, int posX, int posY, int atlas, FontInfo info, Graphics graphics ) : int
useEnums ( ) : string

Method Details

SpriteSheet() public méthode

public SpriteSheet ( SharpFont.Face faces, string characters, int sizes, string family ) : System
faces SharpFont.Face
characters string
sizes int
family string
Résultat System

generateAtlases() public méthode

public generateAtlases ( string outputPath, int maxWidth, int maxHeight, bool genJSON, bool genRBXLua ) : void
outputPath string
maxWidth int
maxHeight int
genJSON bool
genRBXLua bool
Résultat void

Property Details

characters public_oe property

public string characters
Résultat string

family public_oe property

public string family
Résultat string