1.2. Drawing Curved Lines
Problem
You want to draw curved lines.
Solution
Use the Pen tool. Optionally, use the Line tool to draw a straight line. Then use the Selection tool to make the line curve. To draw curves freehand, use the Pencil tool with smoothing.
Discussion
Flash offers a number of approaches to drawing curved lines. Which you select is a matter of both context and preference.
If you plan to draw a series of connected curved segments, the Pen tool is frequently the best option. The Pen tool, as discussed briefly in Recipe 1.1, enables you to draw line segments by plotting points. However, as you draw the points, you can adjust the control points in order to draw curved segments. To adjust the control points, click the mouse at the location at which you want to add a point, and then drag while the mouse button is still pressed. You can also use the Subselection tool to adjust any of the end points and control points along a path after it has been drawn.
You can also use the Selection tool to make paths drawn with the Line tool (or any technique that results in a straight line) into curved segments. The following steps describe the procedure:
Draw a straight line using any of the techniques described in Recipe 1.1.
Choose the Selection tool.
Make sure that the straight line is deselected. If the line has already been selected before proceeding to the next step, you will cause the line to move, rather than curve.
Use the mouse (or stylus) to click on a point along the line and drag ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access