Scenic v0.10.2 Scenic.Primitive.Style.TextHeight View Source

Set the vertical spacing of lines of text in a single block.

Example:

graph
|> text( "Some Text\r\nMore Text" text_height: 50 )

The natural vertical spacing of the font is used by default. Set this style if you want to override it.

Data

spacing

  • spacing - Vertical spacing from line to line.