Function

border

Draws a border around the element.

border

Source set: Android
public fun RemoteModifier.border(
    width: RemoteDp,
    color: RemoteColor,
    shape: RemoteShape = RemoteRectangleShape,
): RemoteModifier

Draws a border around the element.

Parameters

width The width of the border.
color The color of the border.
shape The shape of the border. When RemoteRoundedCornerShape is used, only the RemoteRoundedCornerShape.topStart corner size is currently taken into consideration for all corners.

Last updated: