Reputation: 63
I'd like to flip the left and right, camera preview
Like the photo
What can I do?
I am currently using surfaceview
thanks
Upvotes: 0
Views: 1843
Reputation: 2060
use canvas scale
canvas.scale((flipHorizontal ? -1 : 1), (flipVertical ? 1 : -1));
Upvotes: 1