previousItem()

書式

polygonObject = polygonsObject.previousItem(polygonObject)

説明

previousItem()はパラメーターで指定された1つ前のpolygonオブジェクトを返します。
var p=app.activeDocument.polygons;
alert(p.previousItem(p[2]).id);

目次に戻る