Points of Regular Polygon

Richmond Mathewson richmondmathewson at gmail.com
Tue Nov 29 13:50:09 EST 2016


Aha: the IDE just plonks a pointless polygon graphic in your card, so it 
is invisible.

Setting points does no good at all.

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