Cebuvi Active Member Licensed User Longtime User May 7, 2019 #1 Hi, After drawing a figure in a B4XCanvas, is it possible to rotate the entire canvas at a certain angle? Thanks.
Hi, After drawing a figure in a B4XCanvas, is it possible to rotate the entire canvas at a certain angle? Thanks.
klaus Expert Licensed User Longtime User May 7, 2019 #2 Yes. B4XCanvas is initialized to a B4XView, to a Panel (B4A and B4i) or to a Pane (B4J). You can rotate the B4XView at a given angle, with B4XView1.Rotation = Angle. I use this in the B4X xGauges Class. Upvote 0
Yes. B4XCanvas is initialized to a B4XView, to a Panel (B4A and B4i) or to a Pane (B4J). You can rotate the B4XView at a given angle, with B4XView1.Rotation = Angle. I use this in the B4X xGauges Class.
Cebuvi Active Member Licensed User Longtime User May 7, 2019 #3 Thank you Klaus for such a quick response. I will prove it Upvote 0