There is a thread on this in the forums. Only freehand graphics, lines and 
polylines have points. Regular polygons and even rectangles do not. I made a 
feature request for this. But the forum thread addresses this thoroughly, 
including workarounds from Hermann and others  

Craig

Sent from my iPhone

> On Jan 17, 2014, at 8:12 AM, Mark Schonewille 
> <m.schonewi...@economy-x-talk.com> wrote:
> 
> Hi jbv,
> 
> I don't think there is an easy way to get the points of a regular polygon. If 
> you are going to do calculations, you might as well calculate the points for 
> the shape you want and use these for an (irregular) polygon.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
> spaces. http://www.color-converter.com
> 
> Buy my new book "Programming LiveCode for the Real Beginner" 
> http://qery.us/3fi
> 
> Fill out this survey please
> http://livecodebeginner.economy-x-talk.com/survey/
> 
>> On 1/17/2014 15:00, j...@souslelogo.com wrote:
>> Hi list,
>> 
>> Is there a way to get the points of a Regular Polygon
>> graphic, or do I have to compute it myself using the
>> loc, width, height and number of sides of the graphic ?
>> 
>> Thanks,
>> jbv
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to