Widget - Rotation

//X


button1.setRotationX((float)25);

//Y


button1.setRotationY((float)25);