LineComponent

constructor(fill: Fill, thicknessDp: Float = Defaults.LINE_COMPONENT_THICKNESS_DP, shape: Shape = Shape.Rectangle, margins: Dimensions = Dimensions.Empty, strokeFill: Fill = Fill.Transparent, strokeThicknessDp: Float = 0.0f, shadow: Shadow? = null)

Parameters

fill

the fill.

shape

the Shape.

margins

the margins.

strokeFill

the stroke fill.

strokeThicknessDp

the stroke thickness (in dp).

shadow

stores the shadow properties.