Hi All,
Do you guys know how to rotate an image that I have just created. For example i want the image to rotate around 54 degrees.
Below is the code that I am working on but it seems i cant find a predefined function for rotate.
this.background = new Sprite();
this.background.bitmap = ImageManager.loadSystem($.Param.background);
this.background.x = 50;
this.background.y = 400;
this.background.bitmap.rotateHue(45);
//this.background.bitmap.rotate(45);
Do you guys know how to rotate an image that I have just created. For example i want the image to rotate around 54 degrees.
Below is the code that I am working on but it seems i cant find a predefined function for rotate.
this.background = new Sprite();
this.background.bitmap = ImageManager.loadSystem($.Param.background);
this.background.x = 50;
this.background.y = 400;
this.background.bitmap.rotateHue(45);
//this.background.bitmap.rotate(45);