posted 15 years ago
Dear ranchmembers,
I am looking for a way to find the end point of an AffineTransfrom.
The class below draws a line. The canvas in clicked two times and the resulting points are then transferred to the TransmissionLine class and then used to create the line. The line is converted into an AffineTransform and then it is drawn.
I need to find the endpoint of the AffineTransform - it may be zoomed or rotated. Once I have found the endpoint I then have to write code to either drag the endpoint down or extend it.
I include the code for drawing the line
Best wishes,
The Apprentice