Rotate Objects

  1. 2 weeks ago

    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.

  2. Tim P

    Mar 20 Pre-Release Testers, Xojo Pro Rochester, NY
    Edited 2 weeks ago

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

  3. Martin T

    Mar 20 Pre-Release Testers Germany

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

  4. Edited 2 weeks ago

    @Tim P Ah I see. Thanks.

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

or Sign Up to reply!