Synced
TextRuntime.Shape
Section titled “TextRuntime.Shape”
- Shapes one Unicode string with an imported font.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Text.Runtime
Declaration
Section titled “Declaration”public Inno.Text.TextLayout Inno.Text.Runtime.TextRuntime.Shape(Inno.Text.FontAsset font, string text, Inno.Text.TextStyle style, Inno.Text.TextShapingOptions options)Parameters
Section titled “Parameters”Parameter font: The imported font source.
Parameter text: The Unicode source text.
Parameter style: Font selection and sizing.
Parameter options: Language, script, and direction hints.
Returns
Section titled “Returns”The immutable shaped layout.