-
public final class LineComponentKt
-
-
Method Summary
Modifier and Type Method Description final static LineComponentlineComponent(Color color, Dp thickness, Shape shape, Dp strokeWidth, Color strokeColor, DynamicShader dynamicShader, Dimensions margins)Creates a LineComponent. final static LineComponentlineComponent(Color color, Dp thickness, Shape shape, Dp strokeWidth, Color strokeColor, DynamicShader dynamicShader, Dimensions margins)Creates a LineComponent. -
-
Method Detail
-
lineComponent
@Composable()@Deprecated(message = Use `com.patrykandpatrick.vico.compose.component.lineComponent` instead., level = DeprecationLevel.ERROR) final static LineComponent lineComponent(Color color, Dp thickness, Shape shape, Dp strokeWidth, Color strokeColor, DynamicShader dynamicShader, Dimensions margins)
Creates a LineComponent.
- Parameters:
color- the background color.thickness- the thickness of the line.shape- the Shape to use for the line.strokeWidth- the stroke width.strokeColor- the stroke color.dynamicShader- an optional DynamicShader to apply to the line.margins- the margins of the line.
-
lineComponent
@Composable()@Deprecated(message = Use `com.patrykandpatrick.vico.compose.component.lineComponent` instead., level = DeprecationLevel.ERROR) final static LineComponent lineComponent(Color color, Dp thickness, Shape shape, Dp strokeWidth, Color strokeColor, DynamicShader dynamicShader, Dimensions margins)
Creates a LineComponent.
- Parameters:
color- the background color.thickness- the thickness of the line.shape- the Shape to use for the line.strokeWidth- the stroke width.strokeColor- the stroke color.dynamicShader- an optional DynamicShader to apply to the line.margins- the margins of the line.
-
-
-
-