Referencia 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.

Ejemplos

Sintaxis

textLeading(leading)
textLeading()

Parámetros

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!

Referencias Relacionadas