Class

GenericShape

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

Source set: 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

builder the builder lambda to apply on a Path

Last updated: