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
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: