# Polygons

Ian McKnight iangmcknight at gmail.com
Sun Apr 4 10:39:18 EDT 2021

```Hi
Put a space in-between the points where you want  the line in not be drawn.
The shape is still constructed but with missing sides.

Ian

On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode <
use-livecode at lists.runrev.com> wrote:

> 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
>
> _______________________________________________
> 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
=======================
```