copy

fun LineChart.LineSpec.copy(lineColor: Int = this.lineColor, lineThicknessDp: Float = this.lineThicknessDp, lineBackgroundShader: DynamicShader? = this.lineBackgroundShader, lineCap: Paint.Cap = this.lineCap, point: Component? = this.point, pointSizeDp: Float = this.pointSizeDp, dataLabel: TextComponent? = this.dataLabel, dataLabelVerticalPosition: VerticalPosition = this.dataLabelVerticalPosition, dataLabelValueFormatter: ValueFormatter = this.dataLabelValueFormatter, dataLabelRotationDegrees: Float = this.dataLabelRotationDegrees, pointConnector: LineChart.LineSpec.PointConnector = this.pointConnector): LineChart.LineSpec

Creates a new LineChart.LineSpec based on this one, updating select properties.