Introduction

Stroke is Adobe’s word for border. A stroke has color and weight. The default stroke position is to center the stroke over the path. To open Stroke Panel, go to Window > Stroke. This will open the below window

 

Aligning strokes

If an object is a closed path (such as a square), you can select an option in the Stroke panel to align the stroke along the path to the centre (default), inside, or outside. In the below image all the rectangle are of same size, but with different stroke alignment i.e. outside, inside and centre.

Corner Type

Below types of stroke corner are supported in Illustrator. These corner can be changed using stroke panel.

Cap Type

Below types of stroke cap are supported in Illustrator. These corner can be changed using stroke panel.

Arrowhead

Turning any line into an arrow with arrowheads and tails is easy.

  • Create any line (straight or curved) with two end points.
  • With the line selected, open the Stroke panel
  • Find the section titled “Arrowheads” and select arrowhead and tail sections.

 

Changing Gradient

Gradient of stroke can be changed using Gradient Tool. In the below image gradient is applied to the stroke, and opacity is set to add effect.