Class

RemoteRoundedCornerShape

A shape describing the rectangle with rounded corners.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public class RemoteRoundedCornerShape
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
constructor(
    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 LayoutDirection.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