CustomLetterSpacingSpan

A MetricAffectingSpan that allows to set the letter spacing on the selected text span.

The letter spacing is specified in pixels, which are converted to ems at paint time; this span must therefore be applied after any spans affecting font size.

Constructors

Link copied to clipboard
constructor(spacing: Float)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getUnderlying(): MetricAffectingSpan
Link copied to clipboard
open override fun updateDrawState(paint: TextPaint)
Link copied to clipboard
open override fun updateMeasureState(paint: TextPaint)