Constructor LayoutEngine
LayoutEngine(FontEngine)
Initializes a layout engine using the given font engine.
public LayoutEngine(FontEngine fontEngine)
Parameters
fontEngineFontEngineThe font engine used for run measurement.
Exceptions
- ArgumentNullException
fontEngineis null.
LayoutEngine(FontEngine, ITextShaper?)
Initializes a layout engine using the given font engine and text shaper.
public LayoutEngine(FontEngine fontEngine, ITextShaper? textShaper)
Parameters
fontEngineFontEngineThe font engine used for font resolution and metrics.
textShaperITextShaperThe text shaper used for run shaping.
Exceptions
- ArgumentNullException
fontEngineis null.