interface RemoteShape

Known direct subclasses
RemoteCornerBasedShape

Base class for RemoteShapes defined by four RemoteCornerSizes.

RemoteEdgeButtonShape

Shape for RemoteEdgeButton that fits the bottom edge of a round screen.

Known indirect subclasses
RemoteRoundedCornerShape

A shape describing the rectangle with rounded corners.


Defines a generic remote shape.

Summary

Public functions

RemoteOutline
createOutline(
    size: RemoteSize,
    layoutDirection: LayoutDirection,
    density: RemoteDensity
)

Creates RemoteOutline of this shape for the given size.

Public functions

createOutline

Added in 1.0.0-alpha23
fun createOutline(
    size: RemoteSize,
    layoutDirection: LayoutDirection,
    density: RemoteDensity
): RemoteOutline

Creates RemoteOutline of this shape for the given size.

Parameters
size: RemoteSize

the size of the shape boundary.

layoutDirection: LayoutDirection

the current layout direction.

density: RemoteDensity

the remote density to apply to the shape.

Returns
RemoteOutline

RemoteOutline of this shape for the given size.