https://kotlinlang.org logo
#compose
Title
# compose
u

ursus

01/12/2023, 2:40 PM
Is it possible to
clip
by a vector drawable? i.e. not a
Outline
I have to “draw” my self with drawing commands line
lineTo, archTo
atd, but have it somehow automatically created from the vector drawble (svg)?
m

mgrazianodecastro

01/12/2023, 6:42 PM
maybe you can generate a path from a vector? Like this? https://androidexample365.com/svg-path-to-jetpack-compose-tool/ maybe there’s more efficient way of doing so too
u

ursus

01/12/2023, 6:42 PM
oO
m

mgrazianodecastro

01/12/2023, 6:43 PM
tell me later if it worked
u

ursus

01/12/2023, 6:46 PM
how do I use it? do I need to compile the project into a binary and run that?
14 Views