Synced
TextLayout.Constructor
Section titled “TextLayout.Constructor”
- Creates an immutable text layout.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Text
Scope: Runtime
Declaration
Section titled “Declaration”public InnoEngine.Text.TextLayout.TextLayout(System.Collections.Generic.IEnumerable<InnoEngine.Text.TextGlyph> glyphs, InnoEngine.Text.TextMetrics metrics, float width, float height)Parameters
Section titled “Parameters”Parameter glyphs: The positioned glyph sequence.
Parameter metrics: The face metrics used by the layout.
Parameter width: The logical horizontal advance.
Parameter height: The logical line height.