setIncludePad

@CanIgnoreReturnValue
open fun setIncludePad(includePad: Boolean): StaticLayoutBuilderCompat

Set whether to include extra space beyond font ascent and descent (which is needed to avoid clipping in some languages, such as Arabic and Kannada). The default is true.

Return

this builder, useful for chaining

Parameters

includePad

whether to include padding

See also