Interface

RemoteShape

Defines a generic remote shape.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public interface RemoteShape

Defines a generic remote shape.

Functions

createOutline

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.

Returns

Outline of this shape for the given size.