configureAsLine

How to get configureAsLine

import configureAsLine from 'fontoxml-families/src/configureAsLine.js'

Type: Function

Lines transition from vertical groups to inlines and contain inlines.

Lines are recognizable by their textual content and most of the time being less than a line length long. Optionally, the text can be formatted using a number of visualization options.

Like block, with the exception of Shift+Enter being used to split lines. Pressing Enter will split the parent group.

Lines are meant for use in contexts that are not multi-line by default, but can be used as such in special cases by pressing Shift+Enter for a line break. Use this family for inline objects which can contain other elements which should be rendered.

The following visualization options are visualized by this family:

  • baseline

  • case

  • endDelimiter

  • fontStack

  • isMonospaced

  • lineThroughStyle

  • overlineStyle

  • slant

  • startDelimiter

  • textAlign

  • underlineStyle

  • weight

The following widget areas are available:

  • blockHeaderLeft

  • blockHeaderRight

  • blockBefore

  • blockAfter

  • blockFooter

  • blockOutsideBefore

  • blockOutsideAfter

Arguments

# Name Type Description
1. sxModule SxModule
2. selector XPathTest
3. markupLabel String
4. options CvkOptions
Was this page helpful?