RemoteRoundedCornerShape
Source set: Android
public fun RemoteRoundedCornerShape(corner: RemoteCornerSize): RemoteRoundedCornerShape
Creates RemoteRoundedCornerShape with the same size applied for all four corners.
Parameters
| corner | RemoteCornerSize to apply. |
RemoteRoundedCornerShape
Source set: Android
public fun RemoteRoundedCornerShape(size: RemoteDp): RemoteRoundedCornerShape
Creates RemoteRoundedCornerShape with the same size applied for all four corners.
Parameters
| size | Size in RemoteDp to apply. |
RemoteRoundedCornerShape
Source set: Android
public fun RemoteRoundedCornerShape(size: RemoteFloat): RemoteRoundedCornerShape
Creates RemoteRoundedCornerShape with the same size applied for all four corners.
Parameters
| size | Size in pixels to apply. |
RemoteRoundedCornerShape
Source set: Android
public fun RemoteRoundedCornerShape(
@IntRange(from = 0, to = 100) percent: Int
): RemoteRoundedCornerShape
Creates RemoteRoundedCornerShape with the same size applied for all four corners.
Parameters
| percent | Size in percents to apply. |
RemoteRoundedCornerShape
Source set: Android
public fun RemoteRoundedCornerShape(
topStart: RemoteDp = 0.rdp,
topEnd: RemoteDp = 0.rdp,
bottomEnd: RemoteDp = 0.rdp,
bottomStart: RemoteDp = 0.rdp,
): RemoteRoundedCornerShape
Creates RemoteRoundedCornerShape with sizes defined in RemoteDp.
RemoteRoundedCornerShape
Source set: Android
public fun RemoteRoundedCornerShape(
topStart: RemoteFloat = 0.rf,
topEnd: RemoteFloat = 0.rf,
bottomEnd: RemoteFloat = 0.rf,
bottomStart: RemoteFloat = 0.rf,
): RemoteRoundedCornerShape
Creates RemoteRoundedCornerShape with sizes defined in pixels.
RemoteRoundedCornerShape
Source set: Android
public fun RemoteRoundedCornerShape(
@IntRange(from = 0, to = 100) topStartPercent: Int = 0,
@IntRange(from = 0, to = 100) topEndPercent: Int = 0,
@IntRange(from = 0, to = 100) bottomEndPercent: Int = 0,
@IntRange(from = 0, to = 100) bottomStartPercent: Int = 0,
): RemoteRoundedCornerShape
Creates RemoteRoundedCornerShape with sizes defined in percents of the shape's smaller side.
Parameters
| topStartPercent | The top start corner radius as a percentage of the smaller side, with a range of 0 - 100. |
| topEndPercent | The top end corner radius as a percentage of the smaller side, with a range of 0 - 100. |
| bottomEndPercent | The bottom end corner radius as a percentage of the smaller side, with a range of 0 - 100. |
| bottomStartPercent | The bottom start corner radius as a percentage of the smaller side, with a range of 0 - 100. |