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. |