C# Класс FairyGUI.DynamicFont

Наследование: BaseFont
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_cachedBaseline int>.Dictionary
_font UnityEngine.Font

Открытые методы

Метод Описание
DynamicFont ( string name ) : System
GetGlyph ( char ch, GlyphInfo glyph ) : bool
GetGlyphSize ( char ch, float &width, float &height ) : bool
PrepareCharacters ( string text ) : void
SetFormat ( TextFormat format, float fontSizeScale ) : void

Приватные методы

Метод Описание
GetBaseLine ( int size ) : int
LoadFont ( ) : void
textureRebuildCallback ( ) : void
textureRebuildCallback ( Font targetFont ) : void

Описание методов

DynamicFont() публичный метод

public DynamicFont ( string name ) : System
name string
Результат System

GetGlyph() публичный метод

public GetGlyph ( char ch, GlyphInfo glyph ) : bool
ch char
glyph GlyphInfo
Результат bool

GetGlyphSize() публичный метод

public GetGlyphSize ( char ch, float &width, float &height ) : bool
ch char
width float
height float
Результат bool

PrepareCharacters() публичный метод

public PrepareCharacters ( string text ) : void
text string
Результат void

SetFormat() публичный метод

public SetFormat ( TextFormat format, float fontSizeScale ) : void
format TextFormat
fontSizeScale float
Результат void

Описание свойств

_cachedBaseline защищенное свойство

protected Dictionary _cachedBaseline
Результат int>.Dictionary

_font защищенное свойство

protected Font,UnityEngine _font
Результат UnityEngine.Font