[Tip] How to mirror an image

42 views
Skip to first unread message

Dave Smart

unread,
May 22, 2016, 5:10:13 AM5/22/16
to androi...@googlegroups.com
You can easily mirror (flip) an image horizontally like this:-

   img.SetScale( -1,1 );

and vertically like this:-

   img.SetScale( 1,-1 );


Note: This works with most controls and complete layouts too :)
Reply all
Reply to author
Forward
0 new messages