DashedShape
class DashedShape(val shape: Shape = Shapes.rectShape, val dashLengthDp: Float = DefaultDimens.DASH_LENGTH, val gapLengthDp: Float = DefaultDimens.DASH_GAP, val fitStrategy: DashedShape.FitStrategy = FitStrategy.Resize) : Shape
DashedShape draws a dashed line by interchangeably drawing the provided shape and leaving a gap.
Constructors
Link copied to clipboard
constructor(shape: Shape = Shapes.rectShape, dashLengthDp: Float = DefaultDimens.DASH_LENGTH, gapLengthDp: Float = DefaultDimens.DASH_GAP, fitStrategy: DashedShape.FitStrategy = FitStrategy.Resize)
Types
Link copied to clipboard
Defines how a DashedShape is to be rendered.
Properties
Link copied to clipboard
the dash length in dp.
Link copied to clipboard
the DashedShape.FitStrategy to use for the dashes.
Link copied to clipboard
the gap length in dp.
Link copied to clipboard
the base Shape from which to create the DashedShape.