Class SdfFontAtlas
public sealed class SdfFontAtlas
- Inheritance
-
object
SdfFontAtlas
Constructors
SdfFontAtlas(Font)
public SdfFontAtlas(Font font)
Parameters
font Font
Properties
Atlas
public Texture2D Atlas { get; }
Property Value
- Texture2D
Ok
Property Value
- bool
PaddingPx
public float PaddingPx { get; }
Property Value
- float
ReferencePointSize
public float ReferencePointSize { get; }
Property Value
- float
Methods
Dispose()
EnsureGlyphs(string)
public bool EnsureGlyphs(string text)
Parameters
text string
Returns
- bool
TryGet(char, out GlyphEntry)
public bool TryGet(char ch, out SdfFontAtlas.GlyphEntry entry)
Parameters
ch char
entry SdfFontAtlas.GlyphEntry
Returns
- bool