Synced
TextLayout.Constructor
Section titled “TextLayout.Constructor”
- Creates an immutable text layout.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Text
Declaration
Section titled “Declaration”public Inno.Text.TextLayout.TextLayout(System.Collections.Generic.IEnumerable<Inno.Text.TextGlyph> glyphs, Inno.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.