Draw 2 parallel lines between any 2 coordinates on the stage in AS3
问题 I am developping a web application, basically its a simple version of Illustrator/Flash. So soccer trainers can make schemes. I made different tools like in Photoshop (line tool, rectangle tool, ..). All of these work. However now i need to develop a tool where the user can draw a double parallel line . I would like to be able to define the distance between those 2 lines in a variable . I need to draw 2 parallel lines between any 2 points on the stage. Like the line tool in Photoshop