DashedShape
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.
Constructors
Link copied to clipboard
constructor(shape: Shape = Shape.Rectangle, dashLengthDp: Float = Defaults.DASHED_SHAPE_DASH_LENGTH, gapLengthDp: Float = Defaults.DASHED_SHAPE_GAP_LENGTH, 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.