copy

open fun copy(fill: Fill = this.fill, shape: Shape = this.shape, margins: Dimensions = this.margins, strokeFill: Fill = this.strokeFill, strokeThicknessDp: Float = this.strokeThicknessDp, shadow: Shadow? = this.shadow): ShapeComponent

Creates a new ShapeComponent based on this one.