Chapter 5: Using Paths,Shapes and Painting


In addition to being one of the best image-editing applications on the planet, Photoshop also has a robust set of drawing tools. The drawing tools enable you to add vector-based graphics to your documents. With Photoshop, you can easily marry vector-based graphics with your bitmap images to create compelling illustrations, for commercial use or to spice up your holiday photos, by using shapes as borders for text captions.

Use the Pen Tool as a Drawing Tool

The pen may be mightier than the sword, but the Pen Tool is not mightier than the bitmap. The Pen Tool can, however, be used to add shapes to your documents as well as paths. You can align text to a work path. You can also use the Pen Tool to create intricate shapes with pinpoint accuracy. You can use the Pen Tool to trace a shape from a bitmap on another layer and use the shape as artwork for the illustration after deleting the bitmap.

Understand Bitmap and Vector Graphics

Bitmap images, also known as raster images, are comprised of individual dots of color that combine to create recognizable images. Bitmaps contain a given number of pixels and are resolution dependent. When a bitmap image is greatly enlarged, the individual pixels are readily apparent.

On the other hand, vector graphics are comprised of curves and lines that are mathematically created. Therefore, you can move and resize vector graphics without losing fidelity. Vector graphics are well suited for large areas of solid color. The lines and curves used to create a vector graphic remain crisp no matter how much they are enlarged. Use vector shapes to create graphics such as logos.

Use the Pen Tool

The Pen Tool enables you to create complex shapes and paths. You begin by clicking within the document where you want the shape or path to begin, and then you click to add additional points to define the shape. You use a combination of straight points and curve points to define the shape or path. After creating the shape or path, you can edit it point to point until you achieve the look you’re after.

  1. Select the Pen Tool.

  2. In the Options bar, click the Shape Layers button to create a shape with a fill, or click the Paths button to create a path.

    click to expand

  3. Click the Color swatch to open the Color Picker. This option determines the fill of a shape layer you create with the Pen Tool.

  4. Select a color.

  5. Click inside the document to define the first point of the shape or path.

  6. Click to add additional points to the shape or path.

    click to expand

Draw a Straight Path

The straightest distance between two points is a straight line, something you can easily create with the Pen Tool.

  1. Select the Pen Tool.

  2. Click inside the document to define the first point of the shape or path.

  3. Click elsewhere inside the document to create an anchor point for a straight-line segment.

    Note

    If you’re creating a shape layer, you do not have to close the path to create a solid shape. However, you will not have a segment between the last point you create and the first point. The absence of a segment prevents you from adding points to the shape or otherwise modifying the shape between those points.

Draw a Curved Path

To create a complex shape or path, you combine straight-line segments with curves.

  1. Select the Pen Tool.

  2. Click and drag to create a curve point.

  3. Click at the desired position to create a second curve point and drag. As you drag, two B zier handles emanate from the point.

  4. Continue adding points to define the shape or path.

  5. Click the first point to close the shape or path.

Edit Anchor Points

You can fine-tune a shape or path by moving, adding, deleting or converting points.

  1. Select the Direct Selection Tool.

  2. Click the layer shape or path whose points you want to edit. When you click a shape or path, the individual points that comprise the shape or path are displayed.

  3. Select a point with the Direct Selection Tool, and drag it to a new location.

  4. Select a curve point with the Direct Selection tool to display the curve’s B zier handles.

  5. Drag a B zier handle with the Direct Selection tool to reshape a curved segment.

  6. Select the Add Anchor Point Tool, and click a location on the path where you want to add a point.

  7. Select the Delete Anchor Point Tool, and click a point to delete it.

  8. Select the Convert Point Tool, and click a curve point to convert it to a straight point.

  9. Select the Convert Point Tool, and click and drag a straight point to convert it to a curve point. As you drag, two B zier handles appear.

start sidebar
QuickSteps—Using the Freeform Pen Tool

With the Freeform Pen Tool, you can create shapes or paths that look like they were drawn with a pencil. If you use this tool with a digital tablet, you can create artistic shapes. As you move the tool about the document, Photoshop creates points to define the shape or path.

  1. Select the Freeform Pen Tool.

  2. Click the Shape Layer or Path button in the Options bar.

  3. Click the inverted triangle in the Options bar to reveal the Freeform Pen Options dialog box.

  4. Enter a value between .5 and 10 in the Curve Fit field. Enter a higher value to create a simpler path with fewer points.

  5. Drag inside the document to define the shape or path.

  6. To complete the path, release the pointer. Drag to the beginning of the line to close the path.

end sidebar

Use the Magnetic Pen Tool

The Magnetic Pen Tool is a derivative of the Freeform Pen Tool. This tool develops a magnetic attraction to object edges in your document. You can define the range and sensitivity of the tool’s snapping behavior as well as the complexity of the resulting path.

  1. Select the Freeform Pen Tool.

  2. In the Options bar, click the down-pointing triangle beneath the Help menu group to reveal the Freeform Pen Options dialog box and set the following parameters:

    • Width determines how far an edge must be from the pointer before the tool detects it. Enter a value between 1 and 256.

    • Contrast determines how much the contrast between pixels must differ before they are considered an edge. Enter a value between 1 and 100. Use a higher value when you are using the tool to trace objects in a low contrast image.

    • Frequency determines how quickly the tool creates points. Enter a higher value and the tool snaps the path to edges more quickly.

    • Pen Pressure varies the width of the path depending on the amount of pressure you apply when using a digital stylus and tablet. Deselect this option when using the tool with a mouse.

    1. In the Options bar, click the Magnetic check box.

    2. Drag the tool along the edges you want to trace.

Use Paths to Create Artwork

You can use paths to create vector artwork. You can create logos, or stylized versions of bitmap images. This process can be rather tedious if you are attempting to create vector artwork from a complex bitmap image.

  1. Open the bitmap image you want to use as the basis for your vector artwork.

  2. In the Layers palette, click the Create A New Layer button.

  3. Select the Pen Tool.

  4. Create the desired shapes, generating points as needed to create a reasonable facsimile of the shapes on the bitmap layer.

  5. Fill the shapes as needed.

  6. Delete the background layer.

    Tip

    The Magnetic Pen Tool will detect edges on a different layer.

Stroke and Fill Paths

If you use the Pen Tool to create a path and not a shape layer, the path has no stroke nor fill until you add it. You add a stroke (outline) and/or fill (solid color or pattern) to a path by selecting the path and then using options in the Paths palette.

Fill a Path

  1. Select one of the Pen tools.

  2. In the Options bar, click the Paths button.

  3. Create a path as outlined previously.

  4. Select the Path Selection Tool.

  5. Select the Path.

  6. Select Window | Paths to open the Paths palette.

  7. Click the right-pointing triangle in the upper-right corner of the palette, and from the drop-down menu select Fill Path to open the Fill Path dialog box.

    click to expand

  8. Open the Use drop-down list, and select an option.

  9. Click OK to fill the path.

Add a Stroke to a Path

  1. Select one of the Pen tools.

  2. In the Options bar, click the Paths button.

  3. Create a path as outlined previously.

  4. Click the Foreground color swatch, and select a color for the stroke from the Color Picker.

  5. Select the Brush Tool.

  6. Define the size and shape of the brush. This determines the look of the stroke. You can choose a wide brush that feathers gradually to blend with surrounding pixels or a hard-edged brush to create a high-contrast outline for the path.

  7. Click the right-pointing triangle in the upper-right corner of the palette, and from the drop-down menu select Stroke Path to reveal the Stroke Path dialog box.

  8. Accept the default Pressure option to simulate a stroke that was created with a digital stylus and tablet. Click the Pressure check box to deselect the option, and the stroke will be of uniform thickness.

  9. Click OK to apply the stroke to the path.

    Tip

    Open the Use drop-down list, and choose an option to create a stroke using the current settings for a different tool.

start sidebar
QuickSteps—Converting Selections to Paths

If you create an intricate selection using the techniques outlined in Chapter 3, you can convert the selection to a path. After converting the selection to a path, you can add a stroke and fill as outlined previously, and use it as the basis for vector artwork.

  1. Create a selection using any of the techniques outlined in Chapter 3.

  2. Select Windows | Paths to display the Paths palette.

  3. Click the right-pointing triangle in the upper-right corner of the palette, and select Make Work Path from the menu to open the Work Path dialog box.

  4. Type a value in the Tolerance field, or accept the default value of 2.0 pixels. You can type a value between .50 and 10.0. This value determines the number of points that are used to create the path. Specify a high value for a smooth path with fewer points.

  5. Click OK to convert the selection to a path.

end sidebar

Use the Shape Tools

You can use the Shape tools to add vector shapes to a document. You have six shape tools from which to choose: Rectangle Tool, Rounded Rectangle Tool, Ellipse Tool, Polygon Tool, Line Tool, and Custom Shape Tool. You specify the settings for each tool in the Options bar. For example, when you create a shape using the Rounded Rectangle Tool, you can specify the radius of the rectangle’s corners. When you select the Custom Tool, you can select a preset shape.

  1. Select one of the Shape tools.

  2. In the Options bar, click one of the following buttons to define the type of shape you create:

    • Shape Layers creates a shape with a vector mask.

    • Paths creates a working path.

    • Fill Pixels creates a rasterized (bitmap) shape.

    1. Specify the Mode and Opacity for the shape you are about to create.

    2. Accept the Anti-aliased option to blend pixels at the border of the shape with the pixels surrounding the shape. The Anti-aliased option prevents jagged edges at the border of the shape.

    3. Specify other options for the shape.

    4. Click the inverted triangle to reveal a menu that enables you to specify geometry options for the tool. The following image shows the geometry options for the Rounded Rectangle. Note that you can specify the exact size of the shape.

    5. Drag diagonally inside the document to create the shape. If you’ve specified the size of the shape, click inside the document.

start sidebar
QuickSteps—Editing shapes

If you create a shape using the Shape Layers or Paths option, you can edit the shape. You can edit the shape by adding, converting, moving, or deleting points as outlined earlier in this chapter.

  1. Select the Direct Selection Tool.

  2. Select the shape you want to edit to reveal the points used to create the shape.

  3. Select the applicable tool to edit the points as needed.

    Note

    Mode, Opacity, and Anti-aliased options are only available for a shape you create with the Fill Pixels option.

end sidebar




Photoshop CS QuickSteps
Photoshop CS4 QuickSteps
ISBN: 0071625372
EAN: 2147483647
Year: 2006
Pages: 59

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net