Function

RemoteCornerSize

Creates RemoteCornerSize with provided size.

RemoteCornerSize

Source set: JvmAndAndroid
public fun RemoteCornerSize(size: RemoteDp): RemoteCornerSize

Creates RemoteCornerSize with provided size.

Parameters

size the corner size defined in RemoteDp.

Return

a RemoteCornerSize with the given size

RemoteCornerSize

Source set: JvmAndAndroid
public fun RemoteCornerSize(size: RemoteFloat): RemoteCornerSize

Creates RemoteCornerSize with provided size.

Parameters

size the corner size defined in pixels.

Return

a RemoteCornerSize with the given size in pixels

RemoteCornerSize

Source set: JvmAndAndroid
public fun RemoteCornerSize(@IntRange(from = 0, to = 100) percent: Int): RemoteCornerSize

Creates RemoteCornerSize with provided size.

Parameters

percent the corner size defined in percents of the shape's smaller side. Can't be negative or larger than 100 percent.

Return

a RemoteCornerSize with the given percent of the shape's smaller side

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: