Struct FontInfo
Load font/TMP_Font file in runtime and return a Font
/TMP_FontAsset
object
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Rosetta.Runtime.Loader
Assembly: Rosetta.Runtime.dll
Syntax
public struct FontInfo
Fields
| Improve this Doc View SourceFontName
The font file name.
Declaration
public string FontName
Field Value
Type | Description |
---|---|
System.String |
IsDefaultInclude
Whether the font file is included in Resources. When this is no, the font will be loaded from the operating system.
Declaration
public bool IsDefaultInclude
Field Value
Type | Description |
---|---|
System.Boolean |
IsTmpFont
Whether it is a font in TMP format.
Declaration
public bool IsTmpFont
Field Value
Type | Description |
---|---|
System.Boolean |
Size
The font size. Used only when reading font from the OS.
Declaration
public int Size
Field Value
Type | Description |
---|---|
System.Int32 |