typeface

@JvmOverloads
fun typeface(typeface: Typeface? = null, family: String? = null, replaceRule: Any? = null): Span

TypefaceSpan 设置字体样式

Parameters

typeface

字体(API>=28)

family

字体集

replaceRule

组合替换规则 StringReplaceRule