Flip an Android Canvas -
is there easy way flip canvas in android? cant seem find allows me flip vertically 0 on y-axis bottom of phone screen instead of top. it's ok if solution isn't fast because i'm not doing computationally intense canvas.
thanks in advance.
try
canvas.scale(1, -1, width / 2, height / 2)
see canvas.scale documentation. first 2 parameters amount scale by.
Comments
Post a Comment