LegacyQuoteSpan

class LegacyQuoteSpan(@ColorInt color: Int, @Px @IntRange(from = 0) stripeWidth: Int, @Px @IntRange(from = 0) gapWidth: Int) : LeadingMarginSpan

Copy @RequiresApi(Build.VERSION_CODES.P) Type from android.text.style.QuoteSpan

Constructors

Link copied to clipboard
fun LegacyQuoteSpan(@ColorInt color: Int, @Px @IntRange(from = 0) stripeWidth: Int, @Px @IntRange(from = 0) gapWidth: Int)

Functions

Link copied to clipboard
open override fun drawLeadingMargin(c: Canvas, p: Paint, x: Int, dir: Int, top: Int, baseline: Int, bottom: Int, text: CharSequence, start: Int, end: Int, first: Boolean, layout: Layout)
Link copied to clipboard
open override fun getLeadingMargin(first: Boolean): Int

Properties

Link copied to clipboard
val color: Int
Link copied to clipboard
val gapWidth: Int
Link copied to clipboard
val stripeWidth: Int