setMaxHeight

fun setMaxHeight(maxHeight: Int): TextParams

Sets the maximum height for the text layout.

The provided height is coerced so it doesn't exceed the current height (if defined).

Return

The current instance for chaining.

Parameters

maxHeight

The maximum height value.