Reference textLeading()

textLeading()

Sets the spacing between lines of text when text() is called.

Note: Spacing is measured in pixels.

Calling textLeading() without an argument returns the current spacing.

Examples

Syntax

textLeading(leading)
textLeading()

Parameters

leading
Number:

spacing between lines of text in units of pixels.

This page is generated from the comments in src/typography/attributes.js . Please feel free to edit it and submit a pull request!

Related References