Table of Contents

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

public bool Ok { get; }

Property Value

bool

PaddingPx

public float PaddingPx { get; }

Property Value

float

ReferencePointSize

public float ReferencePointSize { get; }

Property Value

float

Methods

Dispose()

public void 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