Class TextLayoutEngine

Namespace
Forma
Assembly
Forma.dll
public sealed class TextLayoutEngine
Inheritance
TextLayoutEngine
Inherited Members

Constructors

TextLayoutEngine()

public TextLayoutEngine()

Properties

Diagnostics

public TextLayoutEngineDiagnostics Diagnostics { get; }

Property Value

TextLayoutEngineDiagnostics

Methods

Clear()

public void Clear()

ClearSharedCaches()

Clears detached-control and text-metrics layouts on the UI thread before releasing a font pack.

public static void ClearSharedCaches()

Layout(UIFont, string, TextLayoutOptions)

public TextLayout Layout(UIFont font, string text, TextLayoutOptions options = default)

Parameters

font UIFont
text string
options TextLayoutOptions

Returns

TextLayout