Package-level declarations
Types
Link copied to clipboard
open class CorneredShape(val topLeft: CorneredShape.Corner = Corner.Sharp, val topRight: CorneredShape.Corner = Corner.Sharp, val bottomRight: CorneredShape.Corner = Corner.Sharp, val bottomLeft: CorneredShape.Corner = Corner.Sharp) : Shape
A Shape implementation with customizable corners.
Link copied to clipboard
class DashedShape(val shape: Shape = Shape.Rectangle, val dashLength: Dp = Defaults.DASHED_SHAPE_DASH_LENGTH.dp, val gapLength: Dp = Defaults.DASHED_SHAPE_GAP_LENGTH.dp, val fitStrategy: DashedShape.FitStrategy = FitStrategy.Resize) : Shape
DashedShape draws a dashed line by interchangeably drawing the provided shape and leaving a gap.
Link copied to clipboard
open class MarkerCorneredShape(topLeft: CorneredShape.Corner, topRight: CorneredShape.Corner, bottomRight: CorneredShape.Corner, bottomLeft: CorneredShape.Corner, val tickSize: Dp = MARKER_TICK_SIZE.dp) : CorneredShape
A CorneredShape extension that additionally draws a triangular tick.
Functions
Link copied to clipboard
Converts this CorneredShape to an instance of androidx.compose.ui.graphics.Shape.
Link copied to clipboard
Converts this androidx.compose.ui.graphics.Shape to an instance of com.patrykandpatrick.vico.multiplatform.common.shape.Shape.