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

PHondogo

03/10/2023, 2:28 PM
Hello! In Canvas Y axis goes from top to bottom. What transformation should I use to treat y coordinate as -y, in other words change direction of Y axis from bottom to top keeping X axis direction from left to right?
e

ephemient

03/10/2023, 2:47 PM
Copy code
scale(scaleX = 1f, scaleY = -1f)
5 Views