Position Imageview at an angle (diagonal)?

Is it possible to place an imageview at angle on the screen in the same way that i would define the top:xx and left:xx…? I've checked through the API and cannot see any value for such?

If not is there another way to achieve this? I'm working on iOS iphone

Lauren :)

1 Answer

  • ignore this, figured it out… 2d matrix to the rescue!!

    object.transform = Ti.UI.create2DMatrix().rotate(angle);