Why does my Illustrator stroke gradient run along the line when I need it across the thickness?
A designer may add an original vector ribbon or contour around an authorized downloaded image. A dark-to-light progression across the ribbon’s thickness suggests a different graphic treatment from a progression that changes from its beginning to its end. This is an external Illustrator control, not a lighting or material parameter in AISwapLab. Adobe documents the gradient stroke styles. The proposed review is unexecuted and does not establish a physically accurate surface or a universally correct shading model.
What to do next
- 01
Define where the two colors should appear
Choose a simple test stroke and name a recognizable point along its route plus the two sides of its thickness. Write whether the color should change as a viewer follows the route or as they move across the width. Confirm that the object actually has a native editable stroke; a stripe painted into a flat image is not equivalent. Keep a duplicate so the comparison does not change the underlying path or surrounding illustration.
- 02
Target Stroke and choose the appropriate style
Select the native object and open Window > Gradient. Target Stroke rather than Fill, then choose the intended gradient. Compare Apply gradient along stroke with Apply gradient across stroke while keeping the same colors and path. Use the within-stroke option only when its distribution serves the design. Record the selected style with the object so a later color revision does not overlook the direction that made the treatment work.
- 03
Inspect turns, endpoints and the actual delivery
Follow the stroke around bends and compare both sides of its width at several locations. Confirm that an intended side-to-side distinction did not become a start-to-end fade. Inspect endpoints, corners and overlaps for distracting changes. Review at the destination size, since a narrow stroke may no longer display a subtle cross-width transition. If the design needs exact region-specific painted shading beyond this native distribution, use a controlled separate treatment instead of adding many stops to compensate for the wrong domain.
A concrete example
Unexecuted example: a curved graphic ribbon should have a dark outer edge and a light inner band throughout its route. A gradient distributed along the path would instead change color as the route progresses. The proposed comparison holds the path and colors constant and changes the stroke style. Acceptance still depends on inspecting the actual curved result, not merely the selected icon.
Native-operation worksheet
| Decision | Evidence to retain | Reject when |
|---|---|---|
| Along | Color progression follows the route | The brief needs the same side-to-side relation everywhere |
| Across | Color progression spans the thickness | The needed start-to-end change disappears |
Before you call it ready
- The desired progression is described across width or along route.
- Stroke is targeted independently of Fill.
- Turns and delivery-size readability are reviewed.
When to stop or choose another method
Stop treating a native vector gradient as proof of real surface lighting. Download AISwapLab source material before its 24-hour expiry and retain the external editable stroke if later revisions are expected.
