copy

open fun copy(color: Int = this.color, typeface: Typeface = this.typeface, textSizeSp: Float = this.textSizeSp, textAlignment: Layout.Alignment = this.textAlignment, lineCount: Int = this.lineCount, truncateAt: TextUtils.TruncateAt? = this.truncateAt, margins: Dimensions = this.margins, padding: Dimensions = this.padding, background: Component? = this.background, minWidth: TextComponent.MinWidth = this.minWidth): TextComponent

Creates a new TextComponent based on this one.