Interface

Shape

Defines a generic shape.

Common
interface Shape

Defines a generic shape.

Functions

createOutline

fun createOutline(size: Size, layoutDirection: LayoutDirection, density: Density): Outline

Creates Outline of this shape for the given size.

Parameters

size the size of the shape boundary.
layoutDirection the current layout direction.
density the current density of the screen.

Returns

Outline of this shape for the given size.