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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -