Click or drag to resize

BaseFont Class

Base class for all kind of fonts.
Inheritance Hierarchy
SystemObject
  FairyGUIBaseFont
    FairyGUIBitmapFont
    FairyGUIDynamicFont

Namespace:  FairyGUI
Assembly:  FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class BaseFont

The BaseFont type exposes the following members.

Constructors
  NameDescription
Public methodBaseFont
Initializes a new instance of the BaseFont class
Top
Properties
  NameDescription
Public propertyname
The name of this font object.
Top
Methods
Fields
  NameDescription
Public fieldcanLight
Can this font be lighted?
Public fieldcanOutline
Can this font be stroked? Will be false for Bitmap fonts.
Public fieldcanTint
Can this font be tinted? Will be true for dynamic font and fonts generated by BMFont.
Public fieldcustomBold
If true, it will use extra vertices to enhance bold effect
Public fieldcustomBoldAndItalic
If true, it will use extra vertices to enhance bold effect ONLY when it is in italic style.
Public fieldhasChannel
Font generated by BMFont use channels.
Public fieldkeepCrisp
Keep text crisp.
Public fieldmainTexture
The texture of this font object.
Public fieldpackageItem
Public fieldshader
The shader for this font object.
Top
See Also