quote
fun Any?.quote(@ColorInt color: Int, @Px @IntRange(from = 0 ) stripeWidth: Int = 10, @Px @IntRange(from = 0 ) gapWidth: Int = 0)
Content copied to clipboard
QuoteSpan 设置段落引用样式(段落前竖线标识)
ParagraphStyle 段落Style不支持文本替换
Parameters
color
竖线颜色
stripe Width
竖线宽度
gap Width
竖线与文本之间间隔宽度
fun Any?.quote(colorString: String, @IntRange(from = 0 ) stripeWidth: Int = 10, @IntRange(from = 0 ) gapWidth: Int = 0)
Content copied to clipboard
QuoteSpan 设置段落引用样式(段落前竖线标识)
ParagraphStyle 段落Style不支持文本替换
Parameters
color String
竖线颜色 #RRGGBB #AARRGGBB
stripe Width
竖线宽度
gap Width
竖线与文本之间间隔宽度