interface RemoteShape

Known direct subclasses
RemoteCornerBasedShape

Base class for RemoteShapes defined by four RemoteCornerSizes.

Known indirect subclasses
RemoteRoundedCornerShape

A shape describing the rectangle with rounded corners.


Defines a generic remote shape.

Summary

Public functions

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

Creates RemoteOutline of this shape for the given size.

Public functions

createOutline

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

Creates RemoteOutline of this shape for the given size.

Parameters
size: RemoteSize

the size of the shape boundary.

density: RemoteDensity

the remote density to apply to the shape.

layoutDirection: LayoutDirection

the current layout direction.

Returns
RemoteOutline

Outline of this shape for the given size.