Package 

Class ShapeKt

    • Method Summary

      Modifier and Type Method Description
      final static Shape toVicoShape(Shape $self) Converts this androidx.compose.ui.graphics.Shape to an instance of com.patrykandpatrick.vico.core.common.shape.Shape.
      final static Shape toComposeShape(CorneredShape $self) Converts this CorneredShape to an instance of androidx.compose.ui.graphics.Shape.
      final static CorneredShape rounded(CorneredShape.Companion $self, Dp topLeft, Dp topRight, Dp bottomRight, Dp bottomLeft) A Dp version of CorneredShape.rounded.
      final static CorneredShape rounded(CorneredShape.Companion $self, Dp all) A Dp version of CorneredShape.rounded.
      final static CorneredShape cut(CorneredShape.Companion $self, Dp topLeft, Dp topRight, Dp bottomRight, Dp bottomLeft) A Dp version of CorneredShape.cut.
      final static CorneredShape cut(CorneredShape.Companion $self, Dp all) A Dp version of CorneredShape.cut.
      final static MarkerCorneredShape markerCorneredShape(CorneredShape.Corner topLeft, CorneredShape.Corner topRight, CorneredShape.Corner bottomRight, CorneredShape.Corner bottomLeft, Dp tickSize) Creates a MarkerCorneredShape.
      final static MarkerCorneredShape markerCorneredShape(CorneredShape.Corner all, Dp tickSize) Creates a MarkerCorneredShape.
      final static MarkerCorneredShape markerCorneredShape(CorneredShape base, Dp tickSize) Creates a MarkerCorneredShape.
      final static DashedShape dashedShape(Shape shape, Dp dashLength, Dp gapLength, DashedShape.FitStrategy fitStrategy) Creates a DashedShape.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.