Package-level declarations
Types
Link copied to clipboard
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.
Link copied to clipboard
open class LineComponent(color: Int, var thicknessDp: Float = 2.0f, shape: Shape = rectShape, dynamicShader: DynamicShader? = null, margins: Dimensions = emptyDimensions(), strokeWidthDp: Float = 0.0f, strokeColor: Int = Color.TRANSPARENT) : ShapeComponent
Draws a line.
Link copied to clipboard
open class ShapeComponent(val shape: Shape = Shapes.rectShape, color: Int = Color.BLACK, val dynamicShader: DynamicShader? = null, margins: Dimensions = emptyDimensions(), val strokeWidthDp: Float = 0.0f, strokeColor: Int = Color.TRANSPARENT) : Component
ShapeComponent is a Component that draws a shape.