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