Hi everyone,
Just want to know that, can rotation property be added to "Freehand Polygon"? I have been trying lots of stuff lately and just wanted to know that can we add rotation property to the polygon that was created by ourself. I have tried "revRotatePoly". But it changes the shape and size of the object.
Can anyone help?
Surbhit
Assigning rotation property to Freehand Polygon
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Assigning rotation property to Freehand Polygon
Hi Surbhit29,
Best
Klaus
I don't think we can add a "factory build-in (or not)" property to LiveCode objectsSurbhit29 wrote:Hi everyone,
Just want to know that, can rotation property be added to "Freehand Polygon"?
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 4027
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: Assigning rotation property to Freehand Polygon
In a reply to another of your questions I uploaded a stack for you that lets you rotate a polygon which you might have overlooked.
http://forums.runrev.com/phpBB2/viewtop ... 093#p61093
You could use the same technique shown there to rotate a Freehand Polygon.
A Freehand Polygon is just as the Polygon made of points that define its shape. You can do the same things to a Freehand Polygon that you can do to a Polygon.
Or I don't understand what you are trying to do.
Kind regards
Bernd
http://forums.runrev.com/phpBB2/viewtop ... 093#p61093
You could use the same technique shown there to rotate a Freehand Polygon.
A Freehand Polygon is just as the Polygon made of points that define its shape. You can do the same things to a Freehand Polygon that you can do to a Polygon.
Or I don't understand what you are trying to do.
Kind regards
Bernd
Re: Assigning rotation property to Freehand Polygon
Hi Bernd,
I downloaded your stack. But when I tried to open, it shows the error "Unable to open Stack, file is not a Stack". And when I tried to open it without double clicking(as was suggested in one of the topic in forum ) the error was shown,"File is damaged".
Surbhit
I downloaded your stack. But when I tried to open, it shows the error "Unable to open Stack, file is not a Stack". And when I tried to open it without double clicking(as was suggested in one of the topic in forum ) the error was shown,"File is damaged".
Surbhit
-
- VIP Livecode Opensource Backer
- Posts: 4027
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: Assigning rotation property to Freehand Polygon
Hi Surbhit,
sorry for that. The stack was in 5.5 format. Livecode prior to version 5.5 can not open it. I uploaded a version that uses the 2.7 stack format. This is for Livecode versions prior to 5.5.
http://forums.runrev.com/phpBB2/viewtop ... 815#p61093
Kind regards
Bernd
sorry for that. The stack was in 5.5 format. Livecode prior to version 5.5 can not open it. I uploaded a version that uses the 2.7 stack format. This is for Livecode versions prior to 5.5.
http://forums.runrev.com/phpBB2/viewtop ... 815#p61093
Kind regards
Bernd
Re: Assigning rotation property to Freehand Polygon
Thanks a lot Bernd,
That helped a lot...
Surbhit
That helped a lot...
Surbhit