- #30 using Vector tools
- #31 Using Shapes as Image Elements
- #32 Understanding the Transform Tools
- #33 Using the Transform Tools
- #34 Distortion-free Scaling with the 9-Slice Scaling Tool
- #35 Creating a Custom Shape
- #36 Understanding the Pen Tool
- #37 Masking an Image with a Vector Shape
- #38 Using the Auto Vector Mask for Quick Fades
#35 Creating a Custom Shape
You might be wondering how I created that L-Shape panel. No? Well, humor me, it’s my first book. There is an L-Shape Auto Shape, but except for the upper-left corner, it lacks control for corner roundness.
The shape in Technique #34 was made using two standard rectangles, each with the same corner radius.
- Draw one corner. Set the rectangle roundness.
- Duplicate the shape by pressing Ctrl/Command+Shift+D.
- Using the Pointer tool, move the duplicated shape so that it only covers the area you want to remove from the rectangle.
- Select both shapes.
- Open the Path panel.
- Choose Punch Paths to delete the duplicate shape and the section of the other shape it overlapped (Figure 35a). You now have a nice inner corner, but the two outer corners are sharp. Converting them to rounded corners use to be a real pain, but not anymore.
Figure 35a Two vectors must be selected to use the Punch command.
- Click the Subselection tool and use it to select either of the two sharp corner anchor points.
- Go to the Path panel again and choose Fillet Points (Figure 35b). A dialog prompts you for a corner radius. Set the same value as you had for the other corners (20 pixels) and click OK. Instant rounded corner!
Figure 35b The Path panel offers many features not available before in Fireworks, including the Fillet Points command, to easily curve a hard-corner point.
- Repeat the process for the other corner.
The Path panel opens up many possibilities for creative design, even if you are not a whiz with the Pen tool. You can punch out corners, punch out holes in a shape, and apply a combination of patterns, textures, or Live Filters for a realistic look, and suddenly you aren’t just dealing with a plain old vector any more (Figure 35c).
Figure 35c Punching out shapes and applying patterns and Live Filters can totally transform a plain vector.