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

RemoteShape

Defines a generic remote shape.

Source set: Android
public interface RemoteShape

Defines a generic remote shape.

Functions

createOutline

Source set: Android
public fun createOutline(
        size: RemoteSize,
        density: RemoteDensity,
        layoutDirection: LayoutDirection,
    ): RemoteOutline

Creates RemoteOutline of this shape for the given size.

Parameters

size the size of the shape boundary.
layoutDirection the current layout direction.
density the remote density to apply to the shape.

Return

Outline of this shape for the given size.

Content updated: