Ever found yourself in Adobe Illustrator, needing to fill a shape with lines, but unsure how to approach it? Fret not, you're in the right place. Today, we're going to explore a simple yet powerful technique to achieve just that.

Before we dive in, ensure you have a shape selected in your Illustrator workspace. If you haven't created one yet, don't worry, we'll guide you through every step of the process. So, let's get started!

Understanding the Stroked to Filled Transition
First, let's grasp the basic concept of filling a shape with lines. In Illustrator, a shape's outline is defined by its stroke. By manipulating this stroke, we can create the illusion of a filled area. This technique is often used to create halftone effects or intricate patterns.

In this guide, we'll be using the 'Illustrator native' method to achieve this effect, which involves utilizing the strokes' properties and the scanner plugin. This ensures compatiblity and ease of use across different versions of Illustrator.
Creating the Base Shape

Begin by creating a simple shape using the Rectangle Tool (M) or the Ellipse Tool (L). For this guide, let's use a circle. Once your shape is created, using the selection tools (V or Direct Selection Tool A), ensure it's selected, and proceed to the next step.
At this stage, your shape should have a visible outline, indicating it's stroked but not filled. This is the foundation upon which we'll build our line-filled masterpiece.
Preparing the Stroke

Now, let's prepare the stroke for creating lines. First, ensure your shape is still selected. In the toolbar, click on the Stroke color to open the color picker. Choose a color for your lines. Typically, a stark contrast to the background or surrounding elements works well.
Next, adjust the stroke width. A wider stroke means thicker lines. For a filled shape effect, a moderate to wide stroke will suffice. You can adjust this in the toolbar, or by entering a specific value in the Stroke panel (Window > Stroke).
Applying the Scanner Plugin

The scanner plugin is a powerful tool that helps us create a filled effect from the stroke. If you haven't installed it yet, you can find it in the Adobe Creative Cloud marketplace or by searching for 'scanner plugin' in your Illustrator menu.
Once installed, you'll find it in the Effect menu. Before we proceed, ensure that your shape is still selected.









Applying the Scanner Effect
With your shape selected, navigate to Effect > Illustrators Effects & Presets > Scanner... This will open a dialog box where you can customize the scanner effect.
In the 'Scanlines' section, adjust the 'Area' slider to control the fill density. A higher value results in a denser, more filled appearance. The 'Width' slider adjusts the width of the scanlines, and the 'Angle' rotates them. Experiment with these values to achieve your desired effect.
Rendering the Effect
After adjusting your settings, click 'OK'. This will apply the scanner effect to your shape's stroke. At this stage, your shape should now appear filled with lines.
You can expand the effect (Object > Expand Appearance) to edit the lines directly, or you can leave it as is for a non-destructive workflow. Additionally, you can adjust the stroke color, width, or other properties to fine-tune the effect.
And there you have it! You've successfully filled a shape with lines in Adobe Illustrator. This technique opens up a world of creative possibilities, from intricate patterns to stunning halftone effects. Happy designing!