TextInlineImageSpan

Base class for inline image spans.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val drawable: Drawable?

Get the drawable that is span represents.

Link copied to clipboard
abstract val height: Int

Get the height of the span.

Link copied to clipboard
abstract val width: Int

Get the width of the span.

Functions

Link copied to clipboard
abstract fun draw(p0: Canvas, p1: CharSequence, p2: Int, p3: Int, p4: Float, p5: Int, p6: Int, p7: Int, p8: Paint)
Link copied to clipboard
Link copied to clipboard
abstract fun getSize(p0: Paint, p1: CharSequence, p2: Int, p3: Int, p4: Paint.FontMetricsInt?): Int
Link copied to clipboard
open override fun getUnderlying(): MetricAffectingSpan
Link copied to clipboard
abstract fun onAttachedToWindow()

Called by the text view from View.onAttachedToWindow.

Link copied to clipboard
abstract fun onDetachedFromWindow()

Called by the text view from View.onDetachedFromWindow,

Link copied to clipboard

Called by the text view from View.onFinishTemporaryDetach.

Link copied to clipboard
abstract fun onStartTemporaryDetach()

Called by the text view from View.onStartTemporaryDetach.

Link copied to clipboard
Link copied to clipboard
abstract fun setTextView(textView: TextView?)

Set the textview that will contain this span.

Link copied to clipboard
open override fun updateDrawState(p0: TextPaint)
Link copied to clipboard
open override fun updateMeasureState(p0: TextPaint)