LineSpacing

data class LineSpacing(val spacing: Float, val paragraphSpacing: Float = 0.0f, val paragraphSpacingBefore: Float = 0.0f) : StringStyleAttribute.ParagraphStyleAttribute

A ParagraphStyleAttribute that adds spacing between the lines

Constructors

Link copied to clipboard
constructor(spacing: Float, paragraphSpacing: Float = 0.0f, paragraphSpacingBefore: Float = 0.0f)

Properties

Link copied to clipboard

the space between paragraphs in points. The space between paragraphs is determined by adding the previous paragraph’s paragraphSpacing and the current paragraph’s paragraphSpacingBefore

Link copied to clipboard

the space between the current and previous paragraph in points. The space between paragraphs is determined by adding the previous paragraph’s paragraphSpacing and the current paragraph’s paragraphSpacingBefore.

Link copied to clipboard

the spacing in points between the lines of the paragraph