C# 클래스 FairyGUI.BaseFont

Base class for all kind of fonts.
파일 보기 프로젝트 열기: fairygui/FairyGUI-unity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
canLight bool
canOutline bool
canTint bool
customBold bool
customBoldAndItalic bool
hasChannel bool
keepCrisp bool
mainTexture NTexture
packageItem PackageItem
shader string

공개 메소드들

메소드 설명
BaseFont ( ) : UnityEngine
GetGlyph ( char ch, GlyphInfo glyph ) : bool
GetGlyphSize ( char ch, float &width, float &height ) : bool
PrepareCharacters ( string text ) : void
SetFormat ( TextFormat format, float fontSizeScale ) : void

메소드 상세

BaseFont() 공개 메소드

public BaseFont ( ) : UnityEngine
리턴 UnityEngine

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

프로퍼티 상세

canLight 공개적으로 프로퍼티

Can this font be lighted?
public bool canLight
리턴 bool

canOutline 공개적으로 프로퍼티

Can this font be stroked? Will be false for Bitmap fonts.
public bool canOutline
리턴 bool

canTint 공개적으로 프로퍼티

Can this font be tinted? Will be true for dynamic font and fonts generated by BMFont.
public bool canTint
리턴 bool

customBold 공개적으로 프로퍼티

If true, it will use extra vertices to enhance bold effect
public bool customBold
리턴 bool

customBoldAndItalic 공개적으로 프로퍼티

If true, it will use extra vertices to enhance bold effect ONLY when it is in italic style.
public bool customBoldAndItalic
리턴 bool

hasChannel 공개적으로 프로퍼티

Font generated by BMFont use channels.
public bool hasChannel
리턴 bool

keepCrisp 공개적으로 프로퍼티

Keep text crisp.
public bool keepCrisp
리턴 bool

mainTexture 공개적으로 프로퍼티

The texture of this font object.
public NTexture,FairyGUI mainTexture
리턴 NTexture

packageItem 공개적으로 프로퍼티

public PackageItem,FairyGUI packageItem
리턴 PackageItem

shader 공개적으로 프로퍼티

The shader for this font object.
public string shader
리턴 string