This site requires javascript.
Android Code Search
file:androidx/compose/foundation/shape/CutCornerShape.kt function:CutCornerShape
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/
CutCornerShape.kt
content_copy
Preview
126:
127:
128:
*/
fun
CutCornerShape
(corner: CornerSize) = CutCornerShape(corner, corner, corner, corner)
133:
134:
135:
*/
fun
CutCornerShape
(size: Dp) = CutCornerShape(CornerSize(size))
140:
141:
142:
*/
fun
CutCornerShape
(size: Float) = CutCornerShape(CornerSize(size))
147:
148:
149:
150:
151:
152:
*/
fun
CutCornerShape
(percent: Int) = CutCornerShape(CornerSize(percent))
/** Creates [CutCornerShape] with sizes defined in [Dp]. */
fun
CutCornerShape
(
topStart: Dp =
0
.dp,
164:
165:
166:
/** Creates [CutCornerShape] with sizes defined in float. */
fun
CutCornerShape
(
topStart: Float =
0.0f
,
189:
190:
191:
*/
fun
CutCornerShape
(
@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