Hey
I need to know the alpha en color value of an object.
Anybody how to know to do this?
my code:
var sel = document.getMatchingItems(Path, { selected: true });
for (var j = 0; j < sel.length; j++) {
//Dialog.alert(sel[j].curves[2].getPoint(1).x); // ok
//Dialog.alert(sel[j].curves[2].getPoint(1).y); // ok
//Dialog.alert(sel[j].bounds.width-1); // minus 1, because there is a border // ok
//Dialog.alert(sel[j].bounds.height-1); // ok
Dialog.alert(sel[j].color);
}
ps: how do i write a string to the console?
Thx