Class

RemoteRoundedCornerShape

A shape describing the rectangle with rounded corners.

Source set: JvmAndAndroid
public class RemoteRoundedCornerShape(
    topStart: RemoteCornerSize,
    topEnd: RemoteCornerSize,
    bottomEnd: RemoteCornerSize,
    bottomStart: RemoteCornerSize,
) :
    RemoteCornerBasedShape(
        topStart = topStart,
        topEnd = topEnd,
        bottomEnd = bottomEnd,
        bottomStart = bottomStart,
    )

A shape describing the rectangle with rounded corners.

This shape will automatically mirror the corner sizes in RemoteLayoutDirection.Rtl.

Parameters

topStart a size of the top start corner
topEnd a size of the top end corner
bottomEnd a size of the bottom end corner
bottomStart a size of the bottom start corner

Functions

createOutline

Source set: JvmAndAndroid
override fun createOutline(
        topStart: RemoteFloat,
        topEnd: RemoteFloat,
        bottomEnd: RemoteFloat,
        bottomStart: RemoteFloat,
        size: RemoteSize?,
        offset: RemoteOffset,
    ): RemoteOutline

copy

Source set: JvmAndAndroid
override fun copy(
        topStart: RemoteCornerSize,
        topEnd: RemoteCornerSize,
        bottomEnd: RemoteCornerSize,
        bottomStart: RemoteCornerSize,
    ): RemoteCornerBasedShape
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: