ParagraphDrawableSpan

class ParagraphDrawableSpan(drawable: Drawable, drawableSize: DrawableSize?, @Px padding: Int) : LeadingMarginSpan, LineHeightSpan

Functions

Link copied to clipboard
open override fun chooseHeight(text: CharSequence, start: Int, end: Int, istartv: Int, v: Int, fm: Paint.FontMetricsInt)
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 drawable: Drawable
Link copied to clipboard
val drawableSize: DrawableSize?
Link copied to clipboard
val padding: Int