Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: hi i want to create a shape with multiple point

$
0
0

hi friend.

 

my script is that:

 

var myDocument = app.activeDocument;

var myTextFrame=myDocument.spreads.item(0).textFrames.add( );

 

W = [["162.741545","212.557648"],["162.114596","195.597693"],["209.109267 ","168.419555"],["250.681453","164.760574"],["312.133401","179.917906" ],["360.332979","213.891495"],["357.923433","271.905238"],["347.078395 ","279.223027"],["315.146608","284.450534"],["251.222635","262.044344" ],["214.531752","240.546364"],["181.727995","230.531831"]];

 

myTextFrame.paths[0].entirePath = W;

myTextFrame.paths[0].pathType = 1668051812;

 

 

i want to convert these point into a symmetrical form, how i convert it into symmetrical form through java script. plese give me a correct script.

 

 

Thanx


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>