Table of Contents

Constructor LayoutEngine

Namespace
DocWright.Layout
Assembly
DocWright.Layout.dll

LayoutEngine(FontEngine)

Initializes a layout engine using the given font engine.

public LayoutEngine(FontEngine fontEngine)

Parameters

fontEngine FontEngine

The font engine used for run measurement.

Exceptions

ArgumentNullException

fontEngine is null.

LayoutEngine(FontEngine, ITextShaper?)

Initializes a layout engine using the given font engine and text shaper.

public LayoutEngine(FontEngine fontEngine, ITextShaper? textShaper)

Parameters

fontEngine FontEngine

The font engine used for font resolution and metrics.

textShaper ITextShaper

The text shaper used for run shaping.

Exceptions

ArgumentNullException

fontEngine is null.