LineComponent

constructor(color: Int, thicknessDp: Float = Defaults.LINE_COMPONENT_THICKNESS_DP, shape: Shape = Shape.Rectangle, margins: Dimensions = Dimensions.Empty, strokeColor: Int = Color.TRANSPARENT, strokeThicknessDp: Float = 0.0f, shader: DynamicShader? = null, shadow: Shadow? = null)

Parameters

color

the fill color.

shape

the Shape.

margins

the margins.

strokeColor

the stroke color.

strokeThicknessDp

the stroke thickness (in dp).

shader

applied to the fill.

shadow

stores the shadow properties.