dashedShape

fun Shapes.dashedShape(shape: Shape, dashLength: Dp, gapLength: Dp, fitStrategy: DashedShape.FitStrategy = DashedShape.FitStrategy.Resize): DashedShape

Creates a DashedShape.

Parameters

shape

the Shape from which to create the DashedShape.

dashLength

the dash length.

gapLength

the gap length.

fitStrategy

the DashedShape.FitStrategy to use for the dashes.


fun Shapes.dashedShape(shape: ChartShape, dashLength: Dp, gapLength: Dp, fitStrategy: DashedShape.FitStrategy = DashedShape.FitStrategy.Resize): DashedShape

Creates a DashedShape.

Parameters

shape

the ChartShape from which to create the DashedShape.

dashLength

the dash length.

gapLength

the gap length.

fitStrategy

the DashedShape.FitStrategy to use for the dashes.