Interface

RemoteCornerSize

Defines size of a corner in pixels.

Source set: Android
public interface RemoteCornerSize

Defines size of a corner in pixels. For example for rounded shape it can be a corner radius.

Functions

toPx

Source set: Android
public fun toPx(shapeSize: RemoteSize, density: RemoteDensity): RemoteFloat

Converts the RemoteCornerSize to pixels in RemoteFloat.

Parameters

shapeSize The size of the shape.
density The current RemoteDensity.
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: