Points of Regular Polygon
Richmond Mathewson
richmondmathewson at gmail.com
Tue Nov 29 13:46:55 EST 2016
Oddly enough, that may have uncovered a bug in LC 9 dp3 . . .
I thought I would set the points of a polygon graphic to the points of the
regular polygon graphic that I had exported into a scrolling list field.
But when I selected 'Polygon Graphic' from the Menu/Object/New
Control/Polygon Graphic
(Mac OS 10.7.5: yeah, yeah, I know, 'tisn't supported for LC 9: go and
try it on a newer Mac running
Mac OS Rocky Mountain) and no polygon graphic appeared on my stack.
To contextualise this: there is no problem if I select 'regualr polygon
graphic'.
Richmond.
On 11/29/16 8:35 pm, Richard Gaskin wrote:
> Richmond Mathewson wrote:
>
> > ...BUT one cannot deform a regular polygon...
>
> ...because it would then no longer be a regular polygon.
>
> To make an irregular polygon use the polygon style. If you need it to
> have regular points you can first create a regular polygon, get its
> effective points, change its style to "polygon", then set the points
> and adjust them however you like:
>
> put the effective points of grc 1 into tPts
> set the style of grc 1 to "polygon"
> set the points of grc 1 to tPts
>
More information about the use-livecode
mailing list