ShapeComponent
open class ShapeComponent(val fill: Fill = Fill.Black, val shape: Shape = Shape.Rectangle, margins: Dimensions = Dimensions.Empty, val strokeFill: Fill = Fill.Transparent, strokeThicknessDp: Float = 0.0f, shadow: Shadow? = null) : Component
Draws Shapes.
Inheritors
Functions
Link copied to clipboard
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.