How to make drawing like lasso tool

Hi experts,

  I want to make drawing on my image like Lasso tool is adobe Photoshop. Where  it is drawing in black end white dotted line and drawn line pixels are changing their position within the drawn area. How can I do it? I have all points of my drawings in linked list.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Take a screenshot of the lasso tool while it is in operation! You could just do it on gray this...
1. Create lasso
2. Print Screen (copies to clipboard)
3. Create a new document in photoshop and paste the contents of the clipboard in it.
5. Crop and save as JPEG
Is that what you meant?

If u want to have the exact same effect as a LASSO tool then I agree with jason , but if u want to have dotted line u can do this :
1.draw your lines with the pen tool (press P)
2. choose Brush tool , select a square brush ,open the brushes palette (on the top right corner u can see the icon) brush tip shape on the left , and set the brush spacing to 200%
4.set the diameter as u like , and the color of the brush
5.on the menus go to WINDOW---->paths (to open paths window) maybe its open already
6.on the bottom of that window click on the circle which says "stoke path with brush"
u can now delete the path
was it helpful?
inampudi1Author Commented:

Actually I now how to use lasso tool in photoshop. But I want  to implement it in my application. I have gotset of  x and y co ordinates for drawing and I have drawn dotted line also......but how can I make it moving as in photoshop.
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

u cant make animation in PS but maybe its possible in image ready or Macromedia flash
>but how can I make it moving as in photoshop.
I'd try like this.
Take a few of screen shots, like I the one I did above. Hopefully you will capture the dotted line in different stages of the animation. You could then arrange these frames in order in layers in Photoshop, to produce the animation sequence. Then you save it as a GIF file. Then you will have an animated GIF.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
inampudi1Author Commented:

I got solution,thanking you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Creative Suite CS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.