RichTextStyle

data class RichTextStyle(val paragraphSpacing: TextUnit? = null, val headingStyle: HeadingStyle? = null, val listStyle: ListStyle? = null, val blockQuoteGutter: BlockQuoteGutter? = null, val codeBlockStyle: CodeBlockStyle? = null, val tableStyle: TableStyle? = null, val infoPanelStyle: InfoPanelStyle? = null, val stringStyle: RichTextStringStyle? = null)

Configures all formatting attributes for drawing rich text.

Parameters

paragraphSpacing

The amount of space in between blocks of text.

headingStyle

The HeadingStyle that defines how Headings are drawn.

listStyle

The ListStyle used to format FormattedLists.

blockQuoteGutter

The BlockQuoteGutter used to draw BlockQuotes.

codeBlockStyle

The CodeBlockStyle that defines how CodeBlocks are drawn.

tableStyle

The TableStyle used to render Tables.

stringStyle

Constructors

Link copied to clipboard
constructor(paragraphSpacing: TextUnit? = null, headingStyle: HeadingStyle? = null, listStyle: ListStyle? = null, blockQuoteGutter: BlockQuoteGutter? = null, codeBlockStyle: CodeBlockStyle? = null, tableStyle: TableStyle? = null, infoPanelStyle: InfoPanelStyle? = null, stringStyle: RichTextStringStyle? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val listStyle: ListStyle? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tableStyle: TableStyle? = null