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
The RichTextStringStyle used to render RichTextStrings
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)