How to Add a Hashed or Lined Fill to a PDF Rectangle
Question details
The user wants to fill a square or rectangle shape in a PDF document with a lined or hashed pattern instead of a standard solid color.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Annotating or drawing shapes on a PDF document where specific architectural or design hatch patterns are required.
- Observed behavior
- Standard PDF shape comment tools only offer solid color fills and border line styles (like dotted lines), lacking built-in options for hatched or crosshatch fills.
Check if your PDF editing software includes advanced engineering or architectural markup tools, as basic comment and shape tools usually lack custom pattern fills.
Create and Insert a Hatched Graphic as an Image
Since standard PDF shape tools typically do not support hatch patterns, the most reliable workaround is to create a patterned shape in another program and insert it into your PDF as an image.
This method allows you to use any custom pattern you need, such as diagonal lines, crosshatches, or custom textures, by treating the fill pattern as an external image overlay.
Open a graphic design tool or drawing software (like MS Word, PowerPoint, or Illustrator). Draw a rectangle and apply your desired hashed or lined fill pattern.
Save the filled shape as a transparent PNG image to ensure the white background doesn't block out surrounding PDF content.
Open your PDF editor, navigate to the 'Edit' or 'Insert' tab, and select 'Add Image' or 'Insert Picture'.
Place the hatched image over your desired area in the PDF document and adjust its borders to fit perfectly.

Use Specialized Markup Software
Some advanced or industry-specific PDF tools offer built-in hatch patterns for drawn shapes.
Edit and Annotate PDFs Easily with WPS Office
WPS Office provides a comprehensive and user-friendly PDF editor that allows you to effortlessly insert custom images, shapes, and annotations into your documents to achieve any design or markup goal.
- 1. Open your PDF: Launch WPS Office and open the PDF file you wish to annotate.
- 2. Insert your patterned graphic: Navigate to the 'Insert' tab and click on 'Picture' to upload your pre-made hatched or lined graphic.
- 3. Adjust the graphic: Click and drag the graphic to position it correctly, and use the corner handles to resize it over the target area.
- 4. Save the document: Click 'Save' or press Ctrl+S to preserve your newly added patterned shape in the PDF.

Frequently Asked Questions
Can I change a solid fill to a hashed fill in Adobe Acrobat?
By default, Adobe Acrobat's standard shape comment tools only support solid color fills. You cannot directly change a solid fill to a hashed or crosshatch pattern without creating the graphic in another application and placing it into the PDF.
How do I change the border of a rectangle to a dotted line in a PDF?
Select the rectangle shape in your PDF editor. In Acrobat, press Ctrl+E to open the Properties toolbar, and look for the 'Line Style' option. You can change it from a solid line to a dashed or dotted line.
What image format is best for inserting a custom hatch pattern into a PDF?
A transparent PNG is highly recommended. Using a PNG with a transparent background ensures that the background text or imagery of the PDF remains visible through the spaces between the hashed lines.




