C# Class CustomFontRenderingForm.SpriteSheet

Mostrar archivo Open project: EgoMoose/Rbx_CustomFont Class Usage Examples

Public Properties

Property Type Description
characters string
family string

Public Methods

Method 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

Method 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 method

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

generateAtlases() public method

public generateAtlases ( string outputPath, int maxWidth, int maxHeight, bool genJSON, bool genRBXLua ) : void
outputPath string
maxWidth int
maxHeight int
genJSON bool
genRBXLua bool
return void

Property Details

characters public_oe property

public string characters
return string

family public_oe property

public string family
return string