Sg2.9
x and y property on Art objec...
Recent RSS
x and y property on Art objects?
From:  Quentin T
Date:  16. September 2008, 00:15

Hi all,
is there a way to change the x and y property of an Art object without having to use .translate()?

Did I miss something?
If not, I did this handy function (nothing revolutionary here):

function moveArtTo(art, x, y) {
	art.translate(x-art.bounds.center.x, y-art.bounds.center.y);
}

I'm discovering Sg so I made little snippets like this. Do I post these to the Scripts/Libraries section? Is this useful to anyone?

ps: the "Notify on subsequent posts" isn't stored when submitting a script or a forum thread, you have to edit it and re-check that option in order for it to be saved...

Re: x and y property on Art objects?
Date:  16. September 2008, 16:29

This functionality is coming in the next version of Scriptographer, together with a bunch of other yummy new features.

Love the Qattern script, will def. play around with it

Looking forward to seeing your other tools!

Re: x and y property on Art objects?
From:  Quentin T
Date:  16. September 2008, 16:51

Yep, they're coming pretty soon!
I'll post them there as soon as they're ready.

OT: I'm on the private bêta program for Ai CS4, are you interested in early Sg tests on that version?

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Hexagonal Grid Generator 16.11.11