🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

GenericShape

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

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

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

Parameters

builder the builder lambda to apply on a Path