LegacyLineBackgroundSpan

class LegacyLineBackgroundSpan(@ColorInt color: Int) : LineBackgroundSpan

Copy @RequiresApi(Build.VERSION_CODES.Q) Type from android.text.style.LineBackgroundSpan.Standard

Constructors

Link copied to clipboard
fun LegacyLineBackgroundSpan(@ColorInt color: Int)

Functions

Link copied to clipboard
open override fun drawBackground(canvas: Canvas, paint: Paint, @Px left: Int, @Px right: Int, @Px top: Int, @Px baseline: Int, @Px bottom: Int, text: CharSequence, start: Int, end: Int, lineNumber: Int)

Properties

Link copied to clipboard
val color: Int