Aleksandr Member Licensed User Longtime User Aug 22, 2013 #1 Hi, How I can rotate an any View by PivotX and PivotY? Sample: a.InitializeRotate("Panel1", 0, 90, .. {add PivotX and PivotY}) Sorry for my English.
Hi, How I can rotate an any View by PivotX and PivotY? Sample: a.InitializeRotate("Panel1", 0, 90, .. {add PivotX and PivotY}) Sorry for my English.
Erel B4X founder Staff member Licensed User Longtime User Aug 23, 2013 #2 Check AnimationPlus library. Upvote 0
Aleksandr Member Licensed User Longtime User Aug 23, 2013 #3 The AnimationPlus library has a standart Methods. Methods: InitializeRotate (arg1 As String, arg2 As Float, arg3 As Float) InitializeRotateCenter (arg1 As String, arg2 As Float, arg3 As Float, arg4 As View) Why is not there as here http://developer.android.com/reference/android/view/animation/RotateAnimation.html RotateAnimation(float fromDegrees, float toDegrees, float pivotX, float pivotY) Thank you for your peply. Upvote 0
The AnimationPlus library has a standart Methods. Methods: InitializeRotate (arg1 As String, arg2 As Float, arg3 As Float) InitializeRotateCenter (arg1 As String, arg2 As Float, arg3 As Float, arg4 As View) Why is not there as here http://developer.android.com/reference/android/view/animation/RotateAnimation.html RotateAnimation(float fromDegrees, float toDegrees, float pivotX, float pivotY) Thank you for your peply.
Erel B4X founder Staff member Licensed User Longtime User Aug 23, 2013 #4 I see, it is the same as the Animation library. You can try to add the view to a transparent panel and rotate the panel. This will allow to "move" the pivot. Upvote 0
I see, it is the same as the Animation library. You can try to add the view to a transparent panel and rotate the panel. This will allow to "move" the pivot.