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 dashLengthDp: Float = Defaults.DASHED_SHAPE_DASH_LENGTH, val gapLengthDp: Float = Defaults.DASHED_SHAPE_GAP_LENGTH, 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 tickSizeDp: Float = MARKER_TICK_SIZE) : CorneredShape
A CorneredShape extension that additionally draws a triangular tick.