User Guide Cancel

Apply line (stroke) settings

  1. InDesign User Guide
  2. Get to know InDesign
    1. Introduction to InDesign
      1. What's New in InDesign
      2. System requirements
      3. Common questions
      4. Use Creative Cloud libraries
    2. Workspace
      1. Workspace basics
      2. Contextual task bar
      3. Customize your workspace in InDesign
      4. Toolbox
      5. Set preferences
      6. Properties panel
      7. Touch workspace
      8. Default keyboard shortcuts
      9. Undo edits and manage History panel
      10. Document recovery and undo
    3. Generative AI (Not available in mainland China)
      1. Text to Image
      2. Generative Expand
      3. Generate Effect in InDesign (Beta)
      4. Generative AI FAQ
  3. Create and layout documents
    1. Documents and pages
      1. Create documents
      2. Work with parent pages
      3. Work with document pages
      4. Set page size, margins, and bleed
      5. Work with files and templates
      6. Convert PDFs to InDesign files in InDesign (Beta)
      7. Create book files
      8. Add basic page numbering
      9. Number pages, chapters, and sections
      10. Convert QuarkXPress and PageMaker documents
      11. Share content
      12. Understand a basic managed-file workflow
      13. Save documents
    2. Grids
      1. Grids
      2. Format grids
    3. Layout aids
      1. Rulers
      2. Align and distribute objects using rulers
      3. Measure objects using the Measure tool
  4. Add content
    1. Text
      1. Add text to frames
      2. Threading text
      3. South-East Asian Scripts
      4. Arabic and Hebrew features in InDesign
      5. Create type on a path
      6. Bullets and numbering
      7. Insert MathML to create math expressions
      8. Glyphs and special characters
      9. Text composition
      10. Text variables
      11. Generate QR codes
      12. Edit text
      13. Align text
      14. Wrap text around objects
      15. Anchored objects
      16. Linked content
      17. Format paragraphs
      18. Format characters
    2. Typography
      1. Using fonts in InDesign
      2. Kerning and tracking
      3. Scale and skew type
      4. Apply color effects to type
    3. Format text
      1. Format text
      2. Auto Style text
      3. Work with Style Packs
      4. Tabs and indents
    4. Review text
      1. Track and review changes
      2. Add editorial notes in InDesign
      3. Import PDF comments
    5. Spell check and language dictionaries
      1. Check spelling, autocorrect, and dynamic spelling
      2. Create, add, and manage dictionaries and words
      3. Change dictionary preferences
      4. Duden dictionary
    6. Add references
      1. Create a table of contents
      2. Footnotes
      3. Create an index
      4. Endnotes
      5. Captions
    7. Styles
      1. Paragraph and character styles
      2. Map, export, and manage styles
      3. Object styles
      4. Drop caps and nested styles
      5. Work with styles
      6. Leading
    8. Tables
      1. Format tables
      2. Create tables
      3. Table and Cell styles
      4. Select and edit tables
      5. Table strokes and fills
    9. Interactivity
      1. Hyperlinks
      2. Dynamic PDF documents
      3. Bookmarks
      4. Buttons
      5. Forms
      6. Animation
      7. Cross-references
      8. Structure PDFs
      9. Page transitions
      10. Movies and sounds
    10. Graphics
      1. Understand paths and shapes
      2. Draw with the Pencil tool
      3. Draw with the Pen tool
      4. Apply line (stroke) settings 
      5. Compound paths and shapes
      6. Edit paths
      7. Clipping paths
      8. Change corner appearance
      9. Frames and objects
      10. Align and distribute objects
      11. Linked and embedded graphics
      12. Integrate AEM assets
    11. Color and transparency
      1. Apply color
      2. Use colors from imported graphics
      3. Work with swatches
      4. Mix inks
      5. Tints
      6. Understand spot and process colors
      7. Blend colors
      8. Gradients
      9. Flatten transparent artwork
      10. Add transparency effects
  5. Find and replace
    1. Find and replace text
    2. Find and replace fonts
    3. Find and replace glyphs
    4. Find and replace using GREP expressions and queries
    5. Find and replace objects
    6. Find and replace colors
    7. Search options to find and replace
  6. Share
    1. Save and access cloud documents
    2. Organize, manage, and share cloud documents
    3. View and manage versions in cloud documents
    4. Common questions about InDesign cloud documents
    5. InCopy on the web (Beta)
    6. Share and collaborate        
    7. Share for Review
    8. Review a shared InDesign document
    9. Manage feedback
    10. Invite to edit
  7. Export, import, and publish
    1. Place, export, and publish
      1. Publish online
      2. Publish online dashboard
      3. Copy, insert graphics
      4. Export to Adobe Express
      5. Export content for EPUB
      6. Adobe PDF options
      7. Export to HTML5
      8. Export content to HTML (Legacy)
      9. Export to Adobe PDF
      10. Export to JPEG or PNG format
      11. Import SVG files
      12. Supported File Formats
      13. Export and import User Settings
    2. Printing
      1. Print booklets
      2. Printer's marks and bleeds
      3. Print documents
      4. Inks, separation, and screen frequency
      5. Overprinting
      6. Create PostScript and EPS files
      7. Preflight files before handoff
      8. Print thumbnails and oversized documents
      9. Prepare PDFs for service providers
      10. Prepare to print separations
  8. Extend InDesign
    1. Automation
      1. Data merge
      2. Plug-ins
      3. Capture extension in InDesign
      4. Scripting
  9. Troubleshooting
    1. Fixed issues
    2. Known issues
    3. Crash on launch
    4. Preference folder read-only issue
    5. Troubleshoot file issues
    6. Unable to export InDesign file to PDF
    7. InDesign document recovery

Set strokes

You can apply strokes, or line settings, to paths, shapes, text frames, and text outlines. The Stroke panel provides control over the weight and appearance of the stroke, including how segments join, start and end shapes, and options for corners. You can also select stroke settings in the Control panel when a path or frame is selected.

Note:

If you frequently use the same stroke settings, you can save the settings in an object style, and quickly apply the same settings to any object. For more information, see Object styles.

Applying strokes

A. Stroke applied to text frame B. Stroke applied to text outline C. Stroke applied to circle 

  1. Select the path whose stroke you want to modify.
    Note:

    When you select a path using the Selection tool , you activate a bounding box that encompasses the entire object. If you want to see the actual path, select the path using the Direct Selection tool instead.

  2. Choose Window > Stroke to display the Stroke panel.
  3. For Weight, choose a stroke weight in the menu, or type a value and press Enter or Return.
    Note:

    Strokes thinner than 0.25 point may be too thin to see when printed on high‑resolution output devices such as an imagesetter. To remove the stroke, type a value of 0 (zero).

  4. If additional options are not visible, choose Show Options from the panel menu to display the other stroke attributes.
  5. Change other stroke attributes as desired.
Note:

If you want to change the stroke’s color, use the toolbox and Swatches panel. See Apply color.

Stroke panel options

Stroke Panel options

Weight

Specifies the weight of stroke.

Cap

Select a cap style to specify the appearance of both ends of an open path:

Butt cap Creates squared ends that abut (stop at) the endpoints.

Round cap Creates semicircular ends that extend half the stroke width beyond the endpoints.

Projecting cap Creates squared ends that extend half the stroke width beyond the endpoints. This option makes the stroke weight extend evenly in all directions around the path.

Note:

You can specify a cap option for a closed path, but the cap will not be visible unless the path is opened (for example, by cutting with the Scissors tool). Also, cap styles are easier to see at thicker stroke weights.

Miter Limit

Specifies the limit of point length to stroke width before a mitered join becomes a beveled square join. For example, a value of 9 requires the point length to be 9 times the stroke width before the point becomes beveled. Type a value (between 1 and 500) and press Enter or Return. The Miter Limit does not apply to a round join.

Note:

You can include miter limit and stroke alignment settings in a paragraph or character style. Click the Character Color section, and then click the stroke icon to make the options available.

Join

Specify the appearance of the stroke at corner points:

Miter join Creates pointed corners that extend beyond the endpoint when the miter’s length is within the miter limit.

Round join Creates rounded corners that extend half the stroke width beyond the endpoints.

Bevel join Creates squared corners that abut the endpoints.

Note:

You can specify miter options for a path that doesn’t use corner points, but the miter options will not apply until you create corner points by adding them or by converting smooth points. Also, miters are easier to see at thicker stroke weights.

Align Stroke

Click an icon to specify the position of the stroke relative to its path.

Type

Choose a stroke type in the menu. If you choose Dashed, a new set of options appears.

Start/End

Choose an arrowhead for the beginning and end of the path.

Swap Start and End Arrowheads Click the icon to swap the start and end arrowheads.

Scale

Resize the tip and end of the arrowheads independently. If you want to link the start and end of the arrowheads
scale, click the Link Start and End of Arrowheads Scales icon, adjacent to the Scale option.  

Align

Adjusts the path to align to the tip or the end of the arrowhead. The options are:

  • Extend arrow tip beyond end of path
  • Place arrow tip at the end of path

Gap Color

Specify a color to appear in the space between dashes, dots, or multiple lines in a patterned stroke.

Gap Tint

Specify a tint (when a gap color is specified).

Note:

Although you can define dashed strokes in the Stroke panel, it’s easier to create a dashed stroke using a custom stroke style.

Add start and end shapes

Keep the following guidelines in mind as you work with start and end shapes:

  • You can’t edit the available start and end shapes, but if you’ve obtained plug‑in software that adds more options, the Start and End menus in the Stroke panel can include additional shapes.

  • Start and end shapes are sized in proportion to the stroke weight. However, adding a start or end shape does not change the length of the path.

  • Start and end shapes automatically rotate to match the angle of an endpoint’s direction line.

  • Start and end shapes appear at endpoints of open paths only; they won’t appear on individual dashes of a dashed stroke.

  • If you apply start and end shapes to a compound path that includes open subpaths, each open subpath will use the same start and end shapes.

  • You can apply start and end shapes to a closed path, but they won’t be visible unless you open the path.

Sample start and end shapes

Create arrows using start and end shapes

Use the Start and End menus in the Stroke panel to add an arrowhead or other shape to the end of an open path.

  1. Use the Line tool to draw a line, or create an open path.
  2. With the line or path selected, open the Stroke panel, and choose a style in the Start and End menus. The Start menu applies a shape to the first endpoint of a path (as determined by the order in which the path’s points were drawn), and the End menu applies a shape to the last endpoint.

Switch a path’s start and end shapes

  1. Using the Direct Selection tool  , select a path.
  2. Choose Object > Paths > Reverse Path, or click the Reverse Path button in the Pathfinder panel.

Define custom stroke styles

You can create a custom stroke style using the Stroke panel. A custom stroke style can be dashed, dotted, or striped; in the style, you can define the stroke’s pattern, cap, and corner attributes. You specify other stroke attributes, such as weight, gap color, and start and end shapes, after the custom stroke style has been applied to an object.

Custom stroke styles

A. Dashed B. Dotted C. Striped 

Custom stroke styles can be saved and loaded into other InDesign documents.

  1. Choose Window > Stroke to display the Stroke panel.
  2. In the panel menu, choose Stroke Styles.
  3. Click New.
  4. Enter a name for the stroke style.
  5. For Type, select one of the following:
    • Dash to define a style with dashes spaced at regular or varying intervals.

    • Striped to define a style with one or more parallel lines.

    • Dotted to define a style with dots spaced at regular or varying intervals.

      The options in the dialog box change to match your selection.

  6. For Pattern Length, specify the length of the repeating pattern (dashed or dotted styles only). The ruler updates to match the length you specify.
  7. To define the stroke pattern, do any of the following:
    • Click the ruler to add a new dash, dot, or stripe.

    • Drag a dash, dot, or stripe to move it.

    • To adjust the width of a dash, move its ruler markers . You can also select the dash and then enter values for Start (where the dash starts on the ruler) and Length.

    • To adjust the position of a dot, move its ruler marker . You can also select the dot and then enter a value for Center (where the center of the dot is positioned).

    • To adjust the thickness of a stripe, move its ruler markers . You can also select the stripe and enter values for Start and Width, both of which are expressed as a percentage of the stroke’s weight.

    • To delete a dash, dot, or stripe, drag it out of the ruler window. (However, a custom stroke style must contain at least one dash, dot, or stripe.)

    Creating a dashed line in New Stroke Style dialog box

    A. Clicking to add a dash to the pattern B. Dragging a marker to make the dash wider C. Dragging the dash to adjust the white space between dashes 

  8. To preview the stroke at different line weights, specify a line weight using the Preview Weight option.
  9. For dashed and dotted patterns, use the Corners option to determine how dashes or dots are positioned to keep a pattern regular around a corner.
  10. For dashed patterns, select a style for Cap to determine the shape of the dashes. This setting overrides the Cap setting in the Stroke panel.
  11. Do one of the following:
    • Click Add to save the stroke style and define another one. Click Done to exit the dialog box.

    • Click OK to save the stroke style and exit the dialog box.

Save custom stroke styles

You can save custom stroke styles for use in other InDesign documents.

Save a custom stroke style

  1. In the Stroke panel menu, choose Stroke Styles.
  2. Select a custom stroke style and click Save.
    Note:

    You cannot save or edit the default stroke styles (enclosed in brackets).

  3. Specify a name and location for the stroke style (.lnst) file, and click OK.

To load a custom stroke style

  1. In the Stroke panel menu, choose Stroke Styles.
  2. Click Load.
  3. Select the stroke style (.lnst) file that contains the custom stroke style you want to import, and click OK.

To apply a custom stroke style

  1. With a path or frame selected, choose a custom stroke style from the Type menu in the Stroke panel.

Get help faster and easier

New user?