CustomLineHeightSpan

Implements a LineHeightSpan which follows web-like behavior for line height, unlike LineHeightSpan.Standard which only effects space between the baselines of adjacent line boxes (does not impact space before the first line or after the last).

Constructors

Link copied to clipboard
constructor(height: Float)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun chooseHeight(text: CharSequence, start: Int, end: Int, spanstartv: Int, v: Int, fm: Paint.FontMetricsInt)