CSTextIconSpan

Draws icon at the text size in the text color, so it follows auto-sized text.

Constructors

Link copied to clipboard
constructor(icon: Drawable)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun draw(canvas: Canvas, text: CharSequence?, start: Int, end: Int, x: Float, top: Int, y: Int, bottom: Int, paint: Paint)
Link copied to clipboard
open override fun getSize(paint: Paint, text: CharSequence?, start: Int, end: Int, fm: Paint.FontMetricsInt?): Int
Link copied to clipboard
open fun updateDrawState(ds: TextPaint?)
Link copied to clipboard