leadingMargin

@JvmOverloads
fun leadingMargin(@IntRange(from = 1) firstLines: Int, @Px firstMargin: Int, @Px restMargin: Int = 0): Span

LeadingMarginSpan 设置段落文本缩进

ParagraphStyle 段落Style不支持文本替换

Parameters

firstLines

首行行数. 与firstMargin关联

firstMargin

首行左边距(缩进)

restMargin

剩余行(非首行)左边距(缩进)