Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
diaorp
Posted - Nov 20 2011 : 23:55:14 I want to draw a line in ImageEnVector not using mouse interative but useing my own date. For example, I give the start point(x1,y1) and the end point (x2,y2), then draw a line. How can i achieve it.Thank u.
3 L A T E S T R E P L I E S (Newest First)
fab
Posted - Nov 21 2011 : 10:48:47 Property ObjLayer[] specifies the object layer (where it is displayed and the base of its coordinates). Assuming you have a layer 1 (the layer just over the background layer), you can create a line over it writing:
Index -1 means "index of next object that is created.
diaorp
Posted - Nov 21 2011 : 06:42:28 Thanks for helping me solve the problem above. There is another question , how to draw a vector line on a layer ? As i want to move the layer by using the mouse.
fab
Posted - Nov 21 2011 : 01:11:10 You have to set object properties then call AddNewObject. For example: