maxLines

val maxLines: Int? = null

Maximum number of wrapped lines to keep. null (the default) keeps every line. When the paragraph wraps to more lines than this, the excess is dropped according to overflow.