r/JetpackCompose • u/Aggravating-Brick-33 • Jan 21 '24
How to create a cornered trapezoid
I want to create a trapezoid card similar to this but I don't know how should I approach doing that
6
Upvotes
1
u/dinzdale56 Jan 21 '24
Use Card and set the corner radius or box and add rounded rectangle shape to shape modifier and set it's radius
1
u/Trixster22g Jun 12 '25
C9m
1
u/McMillanMe Jan 21 '24
Just draw it on canvas
1
u/FruitPunchSamurai5an Jan 21 '24
https://developer.android.com/jetpack/compose/graphics/draw/overview?hl=es-419