Lines, Strokes, Fills & Paths

Every vector (non-bitmapped) object in Illustrator has a path with some kind of "stroke" and "fill" (even if it's "no stroke" and "no fill")

Open Path

An open path is any path with with a beginning and ending set of anchors that aren't connected to each other.

Closed Path

A closed path is any path in which all the anchors are connected to other anchors on both sides.

Lines/Paths

You can create Lines/Paths with lots of different tools

cc2018 Tools Panel

Selection

Creation

Transformation

More Transformation

Useless Gadgets

Document Tools

Stroke/Fill Colors

Fill Types

Draw Modes

Screen Modes

Strokes

Stroke Help Link: http://help.adobe.com/en_US/illustrator/cs/using/WSA1E31D7D-13E6-41ac-AA8C-4AD129B9FC1Ca.html

Once you've created a path/line/shape you can apply and modify it with the Stroke panel Menu>Window>Stroke

Stroke panel

The stroke window gives control over the general aspects of a stroke, such as:

Stroke: Caps

What will sit at the Starting and Ending Anchors of an open path

none

No Cap

round 

Round Cap

square

Square Cap

Think of Round and Square Caps as circles and squares whose center is the end point of an open path.

Stroke: Corners

How a Corner anchor will appear when it is more than a given angle

Mitered

Miter Join (default)

rounded

Round Join

beveled

Bevel Join

Corner Miter Limt

Corner miters control the appearance of to path segments coming together at a corner. The limit value ranges from 0 to 500, with 0 giving a chopped-off appearance to the miter (technically know as a chamfered edge), and a high value giving a pointed connection, much like the miter made by a carpenter on a wooden frame.

1

1 will make any angle corner a Bevel or Round Join

2

2 will turn 90° into a Miter Join

3

3 will turn 45° into a Miter Join

5

Greater than 3 will set more acute angles to Miter Joins

37

Very acute angles may need numbers over 10

187 

It goes up to 500, which is an outrageously high number, mostly you're less then 10. Sometimes you need a big number for curves coming together into a point:

189

189 limit for this example (note the blue anchor handles set to a very acute angle), but it makes a really really long point

Stroke: Alignment

center

Centered (default)

inside

Inside

outside

Outside

Stroke: Dashed Lines

Used extensively in maps/cartography

And for cut-out coupons

I used them to get a tile effect on this mosaic medallion I saw in Istanbul
chora_medallion_e-tiled.ai

dashed

12pt dash (default). No value for the gap matches the dash size.

dashed 2

You can make up to 3 dash and gap sizes that repeat

Exact lengths

Labeled Preserves exact dash and gap lengths can lead to misaligned corners and sides. Useful mostly for open objects

Aligned

Labeled Aligns dashes to corners and path ends, adjusting lengths to fit keeps corners and side looking neat. This used to be really hard to do by hand. Added in CS 4 or 5

Aligned

You can even do dotted lines with circles, just set the dash size to very small (.1 pts)

Arrowheads

Aligned

Handy for charts, graphics and technical illustrations. Tons of pre-built arrowheads, options to change directions, size, where the arrow starts (behind the anchor or in front of it).

Profiles

Aligned

A quick way to apply a variable stroke width...

Aligned

...but it's more powerful to use the Width Tool in the toolbar instead

The Width Tool

Width Tool

The Width tool in the Toolbar lets you modify the width of a stroke at any point on a path.

Original Path Stroke Widened

You can change the width of a stroke at any point along the stroke with the Width Tool

Gradient on Stroke

And you can put gradients on paths

Use the gradient panel to control the way the stroke works on the path:

Gradient on a stroke

Linear gradient aligned within the stroke

Rotated stroke gradient

Linear gradient aligned within stroke and rotated

Radial stroke gradient

Radial gradient aligned within the stroke

Stroke gradient

Linear Gradient along stroke

Within

Linear Gradient across stroke

Fun with path gradients:

Fun with Path Gradients

sample file

Adding Strokes To Type

Demo... example file

NOTE: There is a bug in Illustrator CC that will sometimes cause this to fail. I'm still working on figuring out how to reproduce this bug reliably, and in the meantime if you run into it, convert your text to outlines instead of using this technique.

Selecting text to stroke

After youv'e created the text object, select it with the Selection tool.

Click the stroke button in the stroke panel

Open the Appearance Panel (Menu > Window > Appearance). Note that the layer 'Characters' is highlightd in the panel.

Click on the Add Fill button at the bottom of the panel (not the Stroke button - doesn't work in current version of Illustrator)

Stroke added and shown in panel

This will add a stroke (and an empty fill) above the Characters layer.

Pick color for stroke

From the Stroke layer, pick a color...

Set wide stroke

Then set the stroke to twice as wide as you want it to be.

Drag layer below Characters

Click on the Stroke layer and drag it down to below the Characters layer.

Stroke variations

Release and the stroke is now behind the text. And, the text is still editable!

Here's some variations on what you can do with adding strokes to text through the appearance panel...(strokes02.ai)

Fills

A Fill is any defined area inside a path. It can be Solid, a Gradient, or a Pattern

WARNING: Avoid using a fill on an open path

This looks fine...

Until you continue the path and if fills unexpectedly

Just make sure to set the Fill box to none (the box with the red bar across it)

Using the Swatches Panel to set the fill and stroke colors of a vector object

There are solid colors, but also pre-set gradients and patterns. You can also:

Using the Swatches Library to get different sets of solid colors

This is a big subject area we will cover more when we talk about color in Illustrator. On rare occasions you may see a Swatches panel with only black and white available. Choose Default > Art & Illustration from the popup menu in the lower left if that happens

Creating Gradients

A Gradient is a special type of fill and/or stroke

Using the Gradient Window

Gradient Types

linear gradient

Linear

radial gradient

Radial

linear gradient angle

Linear Gradient Angle

radial gradient angle and aspect ratio

Radial Gradient Angle and Aspect Ratio

Changing Gradient Colors

gradient tab color

Double-click on a tab to edit a color

new tab

Click below gradient band to add a new tab, click on an existing tab and drag it off the panel to delete it.

tab location

You can adjust the position of the tabs

Offset center

Adjust the center point of the point-to-point spread of the gradient

Opacity

Adjust the Opacity of a color tab

Gradient stroke

And Strokes can have gradients too!

Gradient tool

The gradient tool doesn't work with gradients in strokes, but you can use the Angle to set the stroke, or use Menu > Object > Expand with only strokes, then select the fill in the appearance panel

Using the Gradient Tool

Tool location Gradient Tool

Important Trick: Gradients with Transparency

It's easy to mess up transparency in a gradient by making the transparent color different than the solid color. They should be the same.

Good transparency

The right way: black to black to black gradient, with the center black at 0% opacity

Bad transparency

The wrong way: black to white to black gradient

GOT TO HERE
New Illustrator Gradient Type: Freeform Gradient (Adobe Help Page)

gradient types

Adobe Help Page

Pineapple

Sample File
This type of gradient was really hard to do before!

Freeform gradient

Added in Illustrator CC 2019, Freeform Gradients use points and/or lines to allow customization of a gradient within a shape.

To apply a freeform gradient to a shape:

  1. Select the shape, then choose Menu > Window > Gradient to open the Gradient panel.
  2. Click icon for Freeform Gradient next to "Type:"
Gradient panel with Freeform set as Type

The Gradient tool will be selected and points will appear on the shape icon for Freeform Gradient Color Steps (the number of default points varies by shape). Each point represents a color stop in the gradient. The colors will automatically blend from point to point, point to line, and or line to line within the shape.

Freeform gradients can also be set using lines.

The points in a line can be moved, added, deleted, and have their color and opacity set using the same steps as above.

Freeform gradients can be made using a combination of points and lines. Just click POINT or LINE in the gradient panel to switch between them. When finished, switch to another tool to set the gradient. To edit the gradient later, select the shape then either switch to the Gradient tool or click EDIT GRADIENT in the Gradient panel.

Gotcha: Stroke vs. Scale

Stroke Vs. Scale

Why its better to stroke a shape than scale it (sometimes)

Playing Around With Gradients

JK Demo

Demo... example file

Cool Gradient S

Based on Satori Graphics YouTube Video

Cool Gradient S Cool Gradient S

cool_gradient_S.ai

Patterns

A big subject, perhaps another day...

Working With The Paint Brush Tool

Makes editable paths similar to the Pen tool (demo)

The Paint Brush Vs The Pen Tool

Brush tool 

vs.

Pen Tool

Brushes

brushes

The Brushes Panel

New brush applied

Same path, different brush

loaded brush

Load brushes from the popup menu in the lower left of the brushes panel

Click on the above to see at full size. NOTE: Even though they're listed here, you're not allowed to use them in this class! However, you're welcome to build your own.

Brush Categories

Brush Types

Illustrator has five categories of brushes, which you'll see when you choose Create New Brush from the brush panel. Each brush category has its own dialog to control its behavior.

 

Brush Options by Brush Type

Brush Options: Calligraphic

Brush Options Calligraphic

Calligraphic brushes are based on elliptical shapes of various sizes. You can use a graphics tablet to vary the Angle, Roundness, and/or Size of the brush based on the pressure applied to the stylus (but don't forget to set the variability or it won't work).

Brush Options Calligraphic

Brush Options: Art Brushes

Brush Options

Art brushes are made from existing vector graphics. Setup is fairly complicated, we'll look at some examples later in the semester.

In fact, brush design is hard. We'll cover more on custom brushes later...

Files For Part II's Demos:

Painting With Illustrator Continued

Modifying Strokes

Width Tool

With the Width tool

Expanding The Paint Brush Stroke

unexpanded paintbrush path

Since the Paint Brush tool makes only strokes/paths without fills, it's often useful to turn it into an object whose outer visual boundary is a stroke and interior is a fill.

expanded paintbrush path

Use Menu>Object>Expand Appearance

Cube with paintbrush paths

Hand-drawn thing from paintbrush tool

Cube as filled objects

Thing expanded into filled objects with no stroke

Cube live-painted Cube painted

Thing filled with Live Paint after being converted to Live Paint object with Menu > Object > Live Paint > Make

Fun With Brushes

The Scatter Brush

For interesting effects!

Scatterbrush object

13point star, radius 1 .8 in, radius 2 .25 in. 2pt stroke. Rotate each about 18.85 degrees (13/360/2) and scale down

First, create an object, or group of objects (without gradients, brushes or other fancy stuff)

Create Scatterbrush

Choose New Brush from the bottom of the Brush Panel

Scatter Star options

Set some settings, we can tweak latter...

Scatter Star applied to a star

The Scatter Star brush applied to a star

Scatter Star Brush applied to Paintbrush path

Scatter Star applied to a paintbrush path with pressure controlling size

A Better Way To Paint

Illustrator is a terrible painting tool. Sure it has a paint brush, but that doesn't mean you should use it. This is a tedious way to paint and can make for buggy files that crash and take forever to save. And, if you don't use a graphics tablet, really hard to get the results you'd get with real paint on real paper.

Here's a sample case: RomeroA_assignment2-jk3.ai

The Path Tool

Drafting Anchor Weight

From the world of Bézier math, invented in 1962 by Pierre Bézier to design automobile bodies for Renault. Based, in part, on an old technique of drawing curves mechanically with long flexible rulers and anchors to hold the rulers at specific points to the drafting table.

Path Symmetry Example File

Make a set of straight-line segments

Tools path

Turn on the Grid and Snap to Grid
Menu >
View >
Show Grid, Menu >
View >
Snap to Grid

Choose the Path tool from the Tools Panel
Tool Panel >
Click/Release Path Tool

Line Segments 1

Click (but don't drag) a point.
Click/Release
Move the cursor over 1" and up 1" on the grid and click again (but don't drag)
Move >
Click/Release

Line Segments 2

Repeat to make a zigzag line
Move >
Click/Release >
Move >
Click/Release

Oops! It's a filled object.

Tools No Fill

Set the fill to none in the Control Panel
Switch to Selection Tool >
Click/Release path >

Click/Release Fill tab >
Click/Release No Fill Swatch

Line Segments 3

Start again and make a zig zag line
Click/Release >
Move >
Click/Release >
Move >
Click/Release

Make a set of curved path segments

Curve 1 Step 1

This time, let's click with the Pen Tool and drag
Shift-drag straight up 1 inch...
Click/Hold >
Drag

Curve 1 Step 2

Then click 1 inch to the left and shift-drag 1 inch down...
Move >
Click/Hold >
Drag

Curve 1 Step 3

Repeat, alternating up and down directions
Move >
Click/Hold >
Drag >
Move >
Click/Hold >
Drag, etc.

Now a set with shorter direction handles

Curve 2 Step 1

Shift-drag up 1/2 inch...
Click/Hold >
Drag

Curve 2 Step 2

Move >
Click/Hold >
Drag

Curve 2 Step 3

Move >
Click/Hold >
Drag >
Move >
Click/Hold >
Drag, etc

Now a set with diagonal direction handles

Curve 3 Step 1

Shift drag from the starting anchor point up and right 1 inch
Click/Hold >
Drag

Curve 3 Step 2

A very different curve!
Click/Hold >
Drag >
Move >
Click/Hold >
Drag

Curve 3 Step 3

Move >
Click/Hold >
Drag >
Move >
Click/Hold >
Drag, etc.

Now a set of shorter diagonal direction handles

Curve 4 Step 1

Only 1/2 inch up and right this time
Click/Hold >
Drag

Curve 4 Step 2

Move >
Click/Hold >
Drag

Curve 4 Step 3

The example file has a few more variations – try them out!

Making An Ellipse With The Path Tool

It's an interesting exercise to make an ellipse with the path tool. It may help in getting a "feel" for how anchor points and direction handles work.

Start fresh

Make a new artboard or a new file, make sure Grid is on
Menu >
New >
New Document Dialog >
Size:Letter >
Click:OK
Menu >
View >
Show Grid

Ellipse Step 1

Draw a 2 inch circle with the ellipse tool, then another ellipse that 2 inches tall and 3 inches wide

Tool Panel >
Click/Hold Rectangle Toll until popup menu >
Drag to Ellipse Tool>
Release

Shift/Hold >
Click/Drag 2in left + 2in down >
Release

Shift/Hold >
Click/Drag 3in left + 2in down >
Release

Select both  ellipses
Tool Panel >
Click/Release Selection Tool >
Shift/Hold >
Click/Release first circle/ Release Shift

Menu Guides

Add some guides:
Menu >
View >
Guides >
Make Guides

Ellipse 3

Select them both and use Menu >
View >
Guides >
Make Guides
to turn the ellipses into guides

Use the Path Tool to re-create the four anchor points and distance handles of Illustrator's Ellipse Basic Shape Tool

Ellipse 3a

Start on the left side, drag up about 1/2 inch

Ellipse 4

Click on the top side, drag right about the same

Ellipse 5 Ellipse 6a

Zoom in. Turn Snap to Grid off. Use the Direct Selection tool to tweak the handles until the curve matches the circle as closely as possible.

Ellipse 6

Choose Menu >
View >
Show Rulers
.

Ellipse 7

Click on the top ruler and drag the cursor down. A horizontal line appears with the cursor. Drag down until you intersect the line with the end of the left-side anchor point's handle's top. Release.

Ellipse 9

Re-select the path so the handles show. Do the same from the left ruler and drag the cursor to the right. A vertical line appears, etc.

Ellipse 10

Use these new horizontal and vertical guides (and two additional guides) to align the other handles as you complete the circle.

NOTE: To continue a path, choose the path tool and bring the cursor to the end-anchor of the path you want to continue. You'll see this icon:

Continue Path Icon Ellipse 11

Use the same techniques to create the 2x3 ellipse

How Long To Make The Handle & How Many Anchor Points?

The "distance handle" controls the shape of the curve along with the anchor point. Let's examine how the length and angle of the handles affect the curve, and how the number of anchor points also affects it.

A basic rule of thumb:

The fewer anchor points, the smoother the curve

Make a new document or add a new artboard to the current doc

Curve 5 Step 1 Curve 5 Step 2

With Snap to Grid on, create a simple curve with 45º handles, 6 inches wide

Menu ><br> Object ><br> Transform ><br> Move...

Select it, then use Menu >
Object >
Transform >
Move...

Move dialog

And use the dialog to make a copy of it 1 inch down

Curve 5 Step 3
Curve 5 Step 4

The result

Curve 5 Step 6

Repeat the move with Transform Again, or better yet, Control/Command-D, 3 times

Curve 5 Step 5

Now select the 4 lower curves and convert them to Guides with
Menu >
View >
Guides >
Make Guides

Curve 5 Step 7

Zoom into the top guide. Let's define a curve with three anchor points that fits the guide

Curve 5 Step 8 Curve 5 Step 9

Compare the original curve's two anchor points and handles to the new three anchor pointed curve's. Note that the two point curve has longer handles

CURVE 5 STEP 10

Try with the next two curves with handles that are too long and too short

Curve 5 Step 11

Try the last curve with a bunch of anchor points. Notice how much tweaking is required to make the curve look smooth.

Here (Again) Is The Example File "Paths-Symmetry.Ai" With All The Curves In It So Far.

Types of Anchor Points

End Anchor

Every line has at least two anchors

Anchors

Corner Anchor Point

Has no handles

Created with click-release

Anchors

Smooth Anchor Point

Has two handles, equidistant from the anchor, in alignment with each other

Created with click-drag-release

Anchors

Combination Smooth Anchor Point

Smooth on both sides, with two handles, but handles are not aligned

Created with click-drag-option/alt-drag-release

Anchors

Combination Anchor Point

Curved on one side, smooth on the other, with one handle for the smooth side

Created by click-drag-release then click again on anchor

Anchors

Some Important Pen Tool Keyboard/Mouse Gestures To Remember:

Gesture Result
Click-release Corner point Pen Tool Gesture: Click release
Click-drag-release Smooth point Pen Tool Gesture: click drag release
Click-spacebar or click-drag-spacebar followed by release Moves point while spacebar is down, then fixes point on release Pen Tool Gesture: Spacebar
Click-drag then hold Alt/Option De-couple handle from other handle Pen Tool Gesture: Decouple
Click-drag-release then click-release on anchor point Change leading handle to straight-line corner anchor Pen Tool Gesture: Corner
Click-drag-release then click-drag-release on anchor point Change leading handle to straight-line corner anchor Anchor gestures

Truth is, I almost never can remember all of these. Instead, I just rough out the curves I want and go back in and edit them until I get the effect I want.

Tracing With The Path Tool

The source paths-tracing.ai example file, and the source acanthusleaf.jpg file

Make a new doc

Menu ><br> File ><br> Place...

Choose Menu >
File >
Place

Trace 1

Place the acanthusleaf.jpg file in the middle of the artboard

Control Panel Opacity Slider

Use the opacity slider in the Control Panel to set the opacity to 50%

Trace 2
Layers Panel - Lock

Use the Layers Panel to lock the acanthus leaf image

Trace 3

Start tracing the leaf with as few anchor points as possible. Just rough it out, we'll refine it later. The key is to look for the outer edges of curves and drag out a handle that's tangent to the curve

Remember tangents from Geometry? Here's a refresher:

A tangent line is a line which sits perpendicular (at a right angle) to the point on a curve

And so on... the only way to really demo this is to show it live. Here's the resulting file.