Home / Articles / Editing and Combining Shapes and Paths

Editing and Combining Shapes and Paths

Chapter Description

In this sample chapter from Adobe Illustrator Classroom in a Book (2021 release), author Brian Wood teaches you how to edit and combine paths and shapes to create more complex artwork. You will learn to cut shapes and combine them with the Shape Builder tool and Pathfinder effects.

Combining shapes

Creating more complex shapes from simpler shapes can be easier than trying to create them with drawing tools like the Pen tool. In Illustrator, you can combine vector objects in different ways. The resulting paths or shapes differ depending on the method you use to combine the paths. In this section, you’ll explore a few of the more widely used methods for combining shapes.

Start by creating a shape

Before you can jump into combining shapes, you’ll create a triangle. Then you’ll combine it with a few other shapes that are already there. Those shapes will then become the last part of the dinosaur. Before creating the triangle, you’ll swap the fill and the stroke so that the fill becomes the stroke for the new shape you make.

  1. To swap the fill and the stroke of the shape so that the fill becomes the stroke, click the Swap Fill And Stroke option toward the bottom of the toolbar.

    f0126-01.jpg

    Having a stroke on the shape, rather than a fill, will make it easier to see the gray guide path.

  2. Press and hold on the Rectangle tool and select the Polygon tool in the toolbar.

  3. To the right of the eye shapes, in the middle of the artboard, you’ll see a few yellow shapes. Starting in the center of the yellow circle, drag to create a polygon. While dragging, press the down arrow a few times until the shape has three sides (triangle). Drag until the shape is as wide as the gray triangle guide, press the Shift key to straighten it, and release the mouse button and then the key.

  4. Drag the top edge of the triangle down to snap to the guide triangle, and drag the bottom bounding point up to snap to the same guide triangle.

Working with the Shape Builder tool

The first method you’ll learn for combining shapes involves working with the Shape Builder tool (sp_shapebuildertool_lg_n.jpg). This tool allows you to visually and intuitively merge, delete, fill, and edit overlapping shapes and paths directly in the artwork. Using the Shape Builder tool, you’ll create a more complex shape for another dinosaur head from a series of simpler shapes you create.

  1. Select the Selection tool (sp_selectiontool_lg_n.jpg) and drag across the existing yellow paths and the shape you made. The guide path for the triangle is locked, so it won’t be selected.

  2. Change the stroke weight to 5 pt in the Properties panel. Change the stroke color to the color named Orange to make it easier to see.

    f0127-02.jpg

    To edit shapes with the Shape Builder tool (sp_shapebuildertool_lg_n.jpg), they need to be selected. Using the Shape Builder tool, you will now combine, delete, and paint these simple shapes to create a single shape.

  3. Select the Shape Builder tool (sp_shapebuildertool_lg_n.jpg) in the toolbar. Move the pointer off the left side of the shapes, and drag to the right. Release the mouse button to combine the shapes.

    When you select the Shape Builder tool, the overlapping shapes are temporarily divided into separate objects. As you drag from one part to another, a red outline appears, showing you the resulting shape when the shapes are merged together.

    Next, you’ll delete a few shapes. You may want to zoom in to the shapes.

  4. With the shapes still selected, hold down the Option (macOS) or Alt (Windows) key. Notice that, with the modifier key held down, the pointer shows a minus sign (shape_minus.jpg). Click in the middle of the shape on the far left, not the stroke, to delete it. Zoom in if you need. Refer to the figure to see which shape to remove.

  5. Move the pointer below the shapes. Hold down the Option (macOS) or Alt (Windows) key and drag through the rest of the bottom shapes. Release the mouse button and then the key to remove those shapes.

  6. Option-drag (macOS) or Alt-drag (Windows) across the two curved paths to delete them. Refer to the figure to see what to remove.

  7. Select the Selection tool. To swap the fill and the stroke of the shape so that the stroke becomes the fill, click the Swap Fill And Stroke option toward the bottom of the toolbar.

Assemble the second dinosaur

To complete the second dinosaur, you’ll drag and position the artwork you have worked on to this point.

  1. Choose View > Fit Artboard In Window.

  2. With the Selection tool (sp_selectiontool_lg_n.jpg) selected, drag the yellow eye into place on the dinosaur and the orange shape onto the nose. Don’t worry about exact positioning. Leave the last orange shape selected.

  3. Choose View > Zoom In a few times to zoom in to the dinosaur.

    f0129-02.jpg
  4. To arrange the orange shape behind the other artwork on the nose, click Arrange in the Properties panel and choose Send Backward as many times as necessary. I had to choose it three times.

    f0129-03.jpg
  5. Click the yellow circle around the eye, and to resize it, press the Shift key and drag a corner. Release the mouse button and then the key. Drag it into place.

  6. To make a copy, Option-drag (macOS) or Alt-drag (Windows) the eye to the other side. Release the mouse button and then the key.

  7. Choose Select > Deselect, and then choose File > Save.

Combining objects using Pathfinder effects

Pathfinder effects, found in the Properties panel or the Pathfinder panel (Window > Pathfinder), are another way to combine shapes in a variety of ways. By default, when a Pathfinder effect such as Unite is applied, the original objects selected are permanently transformed.

  1. Choose 3 Dino 3 from the Artboard Navigation menu in the lower-left corner of the Document window.

  2. With the Selection tool (sp_selectiontool_lg_n.jpg) selected, drag across the three ellipses with the black strokes to select them all.

    f0130-03.jpg

    You need to create a combined shape for the dinosaur head to the right. You will use the Properties panel and those shapes to create the final artwork.

  3. With the shapes selected, in the Properties panel on the right, click the Unite button (unite.jpg) to permanently combine the three shapes into a path.

  4. Choose Edit > Undo Add to undo the Unite command and bring all of the shapes back. Leave them selected.

Understanding shape modes

In the previous section, the pathfinders made a permanent change to the shapes. With shapes selected, Option-clicking (macOS) or Alt-clicking (Windows) any of the default set of pathfinders showing in the Properties panel creates a compound shape rather than a standard shape (path). The original underlying objects of compound shapes are preserved. As a result, you can still select each original object within a compound shape. Using a shape mode to create a compound shape can be useful if you think that you may want to retrieve the original shapes at a later time.

  1. With the shapes still selected, press the Option (macOS) or Alt (Windows) key and click the Unite button (unite.jpg) in the Properties panel.

    This creates a compound shape that traces the outline of what’s left after the shapes are combined. You’ll still be able to edit the original shapes separately.

  2. Choose Select > Deselect to see the final shape.

  3. With the Selection tool, double-click the black stroke of the shape to enter Isolation mode.

    You double-clicked the stroke of the shape and not anywhere in the shapes because they do not have a fill.

  4. Click the edge of the ellipse at the top or drag across the path to select it.

  5. Drag the selected ellipse straight down from the blue dot in the center, if you see it, or from the path stroke. As you drag, press the Shift key. When in position, release the mouse button and then the Shift key.

  6. Press the Escape key to exit Isolation mode.

    You will now expand the artwork appearance. Expanding the appearance of a compound shape maintains the shape of the compound object, but you can no longer select or edit the original objects. You will typically expand an object when you want to modify the appearance attributes and other properties of specific elements within it.

  7. Click away from the shape to deselect it and then click to select it again. That way the entire object is selected, and not just the one shape.

  8. Choose Object > Expand Appearance.

    The Pathfinder effect is now permanent and the shapes are a single shape.

  9. Change the Fill color in the Properties panel to an aqua. Change the stroke weight to 0.

    f0132-02.jpg

Reshaping a path

In Lesson 3 you learned about creating shapes and paths (lines). You can use the Reshape tool to stretch parts of a path without distorting its overall shape. In this section, you’ll change the shape of a line, giving it a bit of curve, so you can finish the nose of one of the dinosaurs.

  1. Make sure the Smart Guides are on (View > Smart Guides).

  2. With the Selection tool (sp_selectiontool_lg_n.jpg) selected, click the green path in the middle of the artboard.

  3. To make it easier to see, press Command and + (macOS) or Ctrl and + (Windows) a few times to zoom in.

  4. Click Edit Toolbar (more_options.jpg) at the bottom of the toolbar. Scroll in the menu that appears, and drag the Reshape tool (reshape_tool.jpg) onto the Rotate tool (sp_rotatetool_lg_n.jpg) in the toolbar on the left to add it to the list of tools.

    f0133-01.jpg
  5. With the Reshape tool (reshape_tool.jpg) selected, move the pointer over the middle of the path. When the pointer changes (direct_select_dot.jpg), drag to the left to add an anchor point and reshape the path.

    The Reshape tool can be used to drag an existing anchor point or path segment. If you drag from an existing path segment, an anchor point is created.

  6. Move the pointer over the top anchor point of the path and drag it to the left a little. Leave the path selected.

4. Using the Width tool | Next Section Previous Section

Adobe Press Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Adobe Press and its family of brands. I can unsubscribe at any time.

Overview

Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Adobe Press products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security

Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children

This site is not directed to children under the age of 13.

Marketing

Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out

Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.adobepress.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links

This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020