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,
        layoutDirection: LayoutDirection,
        density: RemoteDensity,
    ): 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

RemoteOutline of this shape for the given size.

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: