This site requires javascript.
Android Code Search
file:androidx/compose/foundation/shape/RoundedCornerShape.kt function:RoundedCornerShape
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/shape/
RoundedCornerShape.kt
content_copy
Preview
125:
126:
127:
*/
fun
RoundedCornerShape
(corner: CornerSize) = RoundedCornerShape(corner, corner, corner, corner)
132:
133:
134:
*/
fun
RoundedCornerShape
(size: Dp) = RoundedCornerShape(CornerSize(size))
139:
140:
141:
*/
fun
RoundedCornerShape
(size: Float) = RoundedCornerShape(CornerSize(size))
146:
147:
148:
149:
150:
151:
*/
fun
RoundedCornerShape
(percent: Int) = RoundedCornerShape(CornerSize(percent))
/** Creates [RoundedCornerShape] with sizes defined in [Dp]. */
fun
RoundedCornerShape
(
topStart: Dp =
0
.dp,
163:
164:
165:
/** Creates [RoundedCornerShape] with sizes defined in pixels. */
fun
RoundedCornerShape
(
topStart: Float =
0.0f
,
188:
189:
190:
*/
fun
RoundedCornerShape
(
@IntRange(from =
0
, to =
100
) topStartPercent: Int =
0
,
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main