copy

open override fun copy(color: Int, shape: Shape, margins: Dimensions, strokeColor: Int, strokeThicknessDp: Float, shader: DynamicShader?, shadow: Shadow?): LineComponent
open fun copy(color: Int = this.color, thicknessDp: Float = this.thicknessDp, shape: Shape = this.shape, margins: Dimensions = this.margins, strokeColor: Int = this.strokeColor, strokeThicknessDp: Float = this.strokeThicknessDp, shader: DynamicShader? = this.shader, shadow: Shadow? = this.shadow): LineComponent

Creates a new LineComponent based on this one.