Rotate Objects

Hi, How do I rotate objects ?

I have canvas objects (that contain images) which I can drag around, scale up or down, change color etc…
but I can’t figure how to rotate the objects. I figured out how to rotate the image the object contains
but I want the rotate the object it self not just the image. I have a left and right button set up so that when an object is
selected and I click on left or right it should rotate that direction.

Thanks.

You can’t rotate interface objects, you will have to draw the image rotated.

A Group2D could help you. That’s what helped me a few days ago. https://forum.xojo.com/58959-textshape-maths

@Tim Parnell Ah I see. Thanks.

@Martin Trippensee Cool. I did figure out how to rotate the image using PixmapShap, guess that will have to do. Thanks.