Polygons

Terence Heaford lheaford at icloud.com
Sun Apr 4 10:01:15 EDT 2021


Thanks for that, clearly understood.

To expand on the original question. If you have a hexagon, is it possible  to only draw lines on sides 1,3,5,6 and no lines on sides 2,4.

Thanks Terry

> On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Yes. Polygons use a list of 4 points to describe a triangle. The first and
> last are the co-ords of the same vertex to ensure closure.
> If the last point is left out then the line between the last vertex and the
> first vertex is not drawn.
> So make sure that your list of points doesn't begin with the right angle
> vertex and you're good to go.
> 
> Ian
> 
> 
>> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode <
>> use-livecode at lists.runrev.com> wrote:
>> 
>> If I draw a shape using a polygon, as an example assume a right angled
>> triangle.
>> 
>> Is it possible to hide the line between the points that make up the
>> hypotenuse?
>> 
>> Thanks
>> 
>> Terry
>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> -- 
> Regards
> 
> 
> Ian McKnight
> 
> iangmcknight at gmail.com
> =======================
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list