TextInlineViewPlaceholderSpan

class TextInlineViewPlaceholderSpan(val reactTag: Int, val width: Int, val height: Int) : ReplacementSpan, ReactSpan

TextInlineViewPlaceholderSpan is a span for inlined views that are inside . It computes its size based on the input size. It contains no draw logic, just positioning logic.

Constructors

Link copied to clipboard
constructor(reactTag: Int, width: Int, height: Int)

Properties

Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard
val width: Int

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
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 override fun getUnderlying(): MetricAffectingSpan
Link copied to clipboard
Link copied to clipboard
open override fun updateDrawState(p0: TextPaint)
Link copied to clipboard
open override fun updateMeasureState(p0: TextPaint)