Code example for View

Methods: setRotation

0
        static float getRotation(View view) {
            return view.getRotation();
        } 
 
        static void setRotation(View view, float rotation) {
            view.setRotation(rotation);
        } 
 
        static float getRotationX(View view) {
            return view.getRotationX();
        } 
 
        static void setRotationX(View view, float rotationX) {
            view.setRotationX(rotationX);
        } 
 
        static float getRotationY(View view) {
            return view.getRotationY();
        }