Mike Bonner wrote:

> I have a feature request.. Add the points property to regular
> polygons. They don't need to be settable, but then you can
> easily find the centroid of say.. a triangle

Apparently Mark Wieder was using Jacque's time machine last year, read your request this morning, and added that to the v6.7 engine - from the Dictionary:

   Changes:
   6.7: The effective points and effective relativePoints of a
   graphic return a polygonal representation of the shape even
   for shapes not defined by points. In particular, you can get
   the effective points of rectangle, round-rectangle, oval and
   regular polygon graphics.

        
Thanks, Mark! I've been making good use of it myself for spider web diagrams.

--
 Richard Gaskin
 LiveCode Community Manager
 rich...@livecode.org

_______________________________________________
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