Questions tagged [android-jetpack-compose-path]

2 questions
2
votes
1 answer

Unable to find minus() of Path in Jetpack Compose

I am trying to use this minus extension function of Path in Jetpack Compose code. But I am getting an unresolved reference error. Code @Composable fun PathDiff() { Canvas( modifier = Modifier .fillMaxSize(), ) { …
1
vote
0 answers

How to create a Path will out fill in Jetpack Compose?

I have a Black box out of which I want to take away a specific path. Code @Composable fun PathDiff() { Canvas( modifier = Modifier .fillMaxSize(), ) { val rect1 = Path().apply { …