setWidth

fun setWidth(width: Int): TextParams

Sets the explicit width for the text layout.

Return

The current instance for chaining.

Parameters

width

The width in pixels.