Re: Illustrator 9- sample code? (Jason Bourque)
Re: Illustrator 9- sample code? (Jason Bourque)
- Subject: Re: Illustrator 9- sample code? (Jason Bourque)
- From: "Susan Dumont" <email@hidden>
- Date: Wed, 01 Nov 2000 10:51:31 -0800
>
<email@hidden> wrote:
>
> I am trying to draw a line in Illustrator 9, does anyone have any sample
>
> code I could look at? I seem to be missing something in the properties.
Jason,
there is a shortcut in Illustrator to do this. What you need to do is set
the entire path property of a path item. The entire path may be specified
with a list of {x, y} points. For example:
make new path item in document 1 with properties ,
{entire path:{{25, 25}, {25, 80}, {100, 80}, {110, 115}}}
You can additionally set any other properties you're interested in.
Hope this helps.
~Susan