C# Class FairyGUI.BitmapFont

Inheritance: BaseFont
Show file Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Properties

Property Type Description
resizable bool
size int

Public Methods

Method Description
AddChar ( char ch, BMGlyph glyph ) : void
BitmapFont ( PackageItem item ) : System.Collections.Generic
GetGlyph ( char ch, GlyphInfo glyph ) : bool
GetGlyphSize ( char ch, float &width, float &height ) : bool
SetFormat ( TextFormat format, float fontSizeScale ) : void

Method Details

AddChar() public method

public AddChar ( char ch, BMGlyph glyph ) : void
ch char
glyph BMGlyph
return void

BitmapFont() public method

public BitmapFont ( PackageItem item ) : System.Collections.Generic
item PackageItem
return System.Collections.Generic

GetGlyph() public method

public GetGlyph ( char ch, GlyphInfo glyph ) : bool
ch char
glyph GlyphInfo
return bool

GetGlyphSize() public method

public GetGlyphSize ( char ch, float &width, float &height ) : bool
ch char
width float
height float
return bool

SetFormat() public method

public SetFormat ( TextFormat format, float fontSizeScale ) : void
format TextFormat
fontSizeScale float
return void

Property Details

resizable public property

public bool resizable
return bool

size public property

public int size
return int