Package-level declarations
Types
Link copied to clipboard
class AppendableStyle(@ColorInt val foreColor: Int? = null, @ColorInt val backColor: Int = ContextCompat
.getColor(ContextHelper.getAppContext(), R.color.transparent), val fontStyle: StyleMode = StyleMode.NORMAL, val fontFamily: TypefaceSpan? = null, val fontSize: Int? = null, val fontAlign: Layout.Alignment? = null, val proportion: Float = 1.0f, val xProportion: Float = 1.0f)
The append style.
Link copied to clipboard
Script mode.
Link copied to clipboard
Functions
Link copied to clipboard
Create a style string scope.
Link copied to clipboard
Add image into string.
Link copied to clipboard
inline fun SpannableStringBuilder.withStyle(style: AppendableStyle = AppendableStyle(), scope: SpannableStringBuilder.() -> Unit): SpannableStringBuilder
Add style string.