-
public final class ShapeKt
-
-
Method Summary
Modifier and Type Method Description final static ShapetoVicoShape(Shape $self)Converts this androidx.compose.ui.graphics.Shape to an instance of com.patrykandpatrick.vico.core.common.shape.Shape. final static ShapetoComposeShape(CorneredShape $self)Converts this CorneredShape to an instance of androidx.compose.ui.graphics.Shape. final static CorneredShaperounded(CorneredShape.Companion $self, Dp topLeft, Dp topRight, Dp bottomRight, Dp bottomLeft)A Dp version of CorneredShape.rounded. final static CorneredShaperounded(CorneredShape.Companion $self, Dp all)A Dp version of CorneredShape.rounded. final static CorneredShapecut(CorneredShape.Companion $self, Dp topLeft, Dp topRight, Dp bottomRight, Dp bottomLeft)A Dp version of CorneredShape.cut. final static CorneredShapecut(CorneredShape.Companion $self, Dp all)A Dp version of CorneredShape.cut. final static MarkerCorneredShapemarkerCorneredShape(CorneredShape.Corner topLeft, CorneredShape.Corner topRight, CorneredShape.Corner bottomRight, CorneredShape.Corner bottomLeft, Dp tickSize)Creates a MarkerCorneredShape. final static MarkerCorneredShapemarkerCorneredShape(CorneredShape.Corner all, Dp tickSize)Creates a MarkerCorneredShape. final static MarkerCorneredShapemarkerCorneredShape(CorneredShape base, Dp tickSize)Creates a MarkerCorneredShape. final static DashedShapedashedShape(Shape shape, Dp dashLength, Dp gapLength, DashedShape.FitStrategy fitStrategy)Creates a DashedShape. -
-
Method Detail
-
toVicoShape
final static Shape toVicoShape(Shape $self)
Converts this androidx.compose.ui.graphics.Shape to an instance of com.patrykandpatrick.vico.core.common.shape.Shape.
-
toComposeShape
final static Shape toComposeShape(CorneredShape $self)
Converts this CorneredShape to an instance of androidx.compose.ui.graphics.Shape.
-
rounded
final static CorneredShape rounded(CorneredShape.Companion $self, Dp topLeft, Dp topRight, Dp bottomRight, Dp bottomLeft)
A Dp version of CorneredShape.rounded.
-
rounded
final static CorneredShape rounded(CorneredShape.Companion $self, Dp all)
A Dp version of CorneredShape.rounded.
-
cut
final static CorneredShape cut(CorneredShape.Companion $self, Dp topLeft, Dp topRight, Dp bottomRight, Dp bottomLeft)
A Dp version of CorneredShape.cut.
-
cut
final static CorneredShape cut(CorneredShape.Companion $self, Dp all)
A Dp version of CorneredShape.cut.
-
markerCorneredShape
final static MarkerCorneredShape markerCorneredShape(CorneredShape.Corner topLeft, CorneredShape.Corner topRight, CorneredShape.Corner bottomRight, CorneredShape.Corner bottomLeft, Dp tickSize)
Creates a MarkerCorneredShape.
-
markerCorneredShape
final static MarkerCorneredShape markerCorneredShape(CorneredShape.Corner all, Dp tickSize)
Creates a MarkerCorneredShape.
-
markerCorneredShape
final static MarkerCorneredShape markerCorneredShape(CorneredShape base, Dp tickSize)
Creates a MarkerCorneredShape.
-
dashedShape
final static DashedShape dashedShape(Shape shape, Dp dashLength, Dp gapLength, DashedShape.FitStrategy fitStrategy)
Creates a DashedShape.
-
-
-
-