if I want to contort an Image (or View, I guess) i...
# korge
n
if I want to contort an Image (or View, I guess) into a trapezoid shape, is there a way to do that? kind of like skew, but...not
I think I'm looking for a perspective transformation
eh, I guess it's not possible without some kind of 3d object. I can live with that.
d
right now the supported transformation is a 3x2 Matrix. We could add a transform3D or similar to support perspectives in 2d rendering
👍 1
But that's not available right now
n
thanks...the main purpose was to add a bit of perspective in a card-flipping animation, but even without perspective it still looks fine. I just animate the scaleX to 0, swap the texture, then back up to 1
👍 1