If you would like a real, working example I would be more than happy to accompany that request.
cc11rocks, aka John Price
EDIT: Then later in your code, set the things you need changed. For example, if you want e1 moved down, you just say:
Or whatever. Hopefully, I am clear and make sense. If not, I can give you a real life example.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
Joined: Sep 20, 2008
Thanks for the reply but i really want to use the affinetransform in order to rotate that ellipse . I did think about the same thing while making the code . By changing the y coordinate of the ellipse would greatly make this code dependent for only this Shape . Actually what i am really trying to do is make a very simple tetris game out of it and by using AffineTransform i'll be able to make the different shapes( i'll be using more) coordinate independent .
was just an example.
I think it would probably help you if you used the technique I suggested. I don't know about the affinetransform method, but if you use variables instead of "fixed" values, you might save yourself from future problems, some of which MAY OR MAY NOT arise from using affinetransform and "fixed" values. Anyway, good luck!
cc11rocks aka John Price