ElliotHC Active Member Licensed User Aug 10, 2023 #1 Hi, Does anyone know if there is there a way to set an imageview to a specific angle e.g. 10 degrees?
Hi, Does anyone know if there is there a way to set an imageview to a specific angle e.g. 10 degrees?
klaus Expert Licensed User Longtime User Aug 10, 2023 #2 Yes you can. Declare the ImageView as a B4XView and you can rotate it. B4X: ImageView1.Rotation = 10 Or, if you declared the ImageView as an ImageView you could use this: B4X: ImageView1.As(B4XView).Rotation = 10 Last edited: Aug 10, 2023 Upvote 1
Yes you can. Declare the ImageView as a B4XView and you can rotate it. B4X: ImageView1.Rotation = 10 Or, if you declared the ImageView as an ImageView you could use this: B4X: ImageView1.As(B4XView).Rotation = 10
E emexes Expert Licensed User Aug 10, 2023 #3 ElliotHC said: a way to set an imageview to a specific angle e.g. 10 degrees? Click to expand... The performance of .Rotation can be surprisingly good too: ( from: https://www.b4x.com/android/forum/t...entation-x-starting-point.107004/#post-669583 ) Upvote 0
ElliotHC said: a way to set an imageview to a specific angle e.g. 10 degrees? Click to expand... The performance of .Rotation can be surprisingly good too: ( from: https://www.b4x.com/android/forum/t...entation-x-starting-point.107004/#post-669583 )
klaus Expert Licensed User Longtime User Aug 10, 2023 #4 Interesting ! Are the gauges xGauges ? Upvote 0
E emexes Expert Licensed User Aug 10, 2023 #5 klaus said: Are the gauges xGauges ? Click to expand... I think that in a thread just prior to that one, you had given me and @Scantech a bit of a schooling about rotation, yes. ? Upvote 0
klaus said: Are the gauges xGauges ? Click to expand... I think that in a thread just prior to that one, you had given me and @Scantech a bit of a schooling about rotation, yes. ?