GenericShape

Creates [Shape] defined by applying the provided [builder] on a [Path].

GenericShape

Class

Common
class GenericShape(
    private val builder: Path.(size: Size, layoutDirection: LayoutDirection) -> Unit
) : Shape

Creates Shape defined by applying the provided builder on a Path.

Parameters

builderthe builder lambda to apply on a Path