LegacyBulletSpan

class LegacyBulletSpan(@ColorInt color: Int, @IntRange(from = 0) bulletRadius: Int, gapWidth: Int) : LeadingMarginSpan

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

Constructors

Link copied to clipboard
fun LegacyBulletSpan(@ColorInt color: Int, @IntRange(from = 0) bulletRadius: Int, gapWidth: Int)

Functions

Link copied to clipboard
open override fun drawLeadingMargin(canvas: Canvas, paint: 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 bulletRadius: Int
Link copied to clipboard
val color: Int
Link copied to clipboard
val gapWidth: Int