Shape

Interface

Common
interface Shape

Defines a generic shape.

Functions

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

Creates Outline of this shape for the given size.

Parameters

sizethe size of the shape boundary.
layoutDirectionthe current layout direction.
densitythe current density of the screen.

Returns

Outline of this shape for the given size.