limit

fun limit(maxLineWidth: Double = Double.POSITIVE_INFINITY, maxHeight: Double = Double.POSITIVE_INFINITY, includePartialLines: Boolean = true, ellipsis: String? = null, trimSpaces: Boolean = false, includeFirstLineAlways: Boolean = true): RichTextData