Constructor LayoutSession
LayoutSession(FontEngine, LayoutSessionOptions?)
Initializes a session over a font engine.
public LayoutSession(FontEngine fonts, LayoutSessionOptions? options = null)
Parameters
fontsFontEngineThe font engine every layout measures with.
optionsLayoutSessionOptionsThe options, or null for the defaults.
Exceptions
- ArgumentNullException
fontsis null.