|
Applying line (stroke) settings
Set strokesYou 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.  Applying strokes - A.
- Stroke applied to text frame
- B.
- Stroke
applied to text outline
- C.
- Stroke
applied to circle
 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 About object styles.
- 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.
- Choose Window > Stroke to display the Stroke
panel.
- 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).
- If additional options are not visible, choose Show Options
from the panel menu to display the other stroke attributes.
- 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- 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.
 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. - 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.
- 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
- Choose for the beginning of the path.
- End
- Choose for the end of the 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).
 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 shapesKeep 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
Add start and end shapesUse the Start and End menus in the Stroke
panel to add an arrowhead or other shape to the end of an open path.
- Using any selection tool, select an open path.
- In the Stroke panel, 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- Using the Direct Selection tool
, select
a path.
- Choose Object > Paths > Reverse
Path, or click the Reverse Path button in the Pathfinder panel.
Define custom stroke stylesYou
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.
- Choose Window > Stroke to display
the Stroke panel.
- In the panel menu, choose Stroke Styles.
- Click New.
- Enter a name for the stroke style.
- 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.
- For Pattern Length, specify the length of the repeating
pattern (dashed or dotted styles only). The ruler updates to match
the length you specify.
- 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
- To preview the stroke at different line weights, specify
a line weight using the Preview Weight option.
- 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.
- 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.
- Do one of the following:
Save custom stroke stylesYou can save custom stroke styles for use
in other InDesign documents.
Save a custom stroke style- In the Stroke panel menu, choose Stroke
Styles.
- Select a custom stroke style and click Save.
Note: You cannot save or edit the default stroke
styles (enclosed in square brackets).
- Specify
a name and location for the stroke style (.inst) file, and click
OK.
To load a custom stroke style- In
the Stroke panel menu, choose Stroke Styles.
- Click Load.
- Select the stroke style (.inst) file that contains the
custom stroke style you want to import, and click OK.
To apply a custom stroke style With
a path or frame selected, choose a custom stroke style from the
Type menu in the Stroke panel.
Change corner appearanceYou can use the Corner Options command to
quickly apply corner effects to any path. Available corner effects
range from simple, rounded corners to fancy ornamentation.
 Effects of different line weights on corner shapes - A.
- Fancy corner effect with no stroke
- B.
- Same effect
with 1‑point stroke
- C.
- Same effect
with 4‑point stroke
Apply corner effects- Using a selection tool, select a path.
- Choose Object > Corner Options.
- Choose a corner effect in the Effect menu.
- For Size, type a value to specify the radius by which
the corner effect extends from each corner point.
- Select Preview if you want to see the results of the
effect before applying it. Then click OK.
Tips for applying corner effectsNote the following:
If you’ve
obtained plug‑in software that adds more effects, the Corner Options command
in the Stroke panel can include additional shapes.
Corner effects appear on all of a path’s corner points, but
never on smooth points. The effects change angles automatically
when you move a path’s corner points.
If a corner effect significantly changes the path by, for
example, creating a bulge inward or outward, it may affect how a
frame interacts with its contents or with other parts of the layout.
Increasing the size of a corner effect may push an existing text
wrap or frame inset farther away from the frame.
You can’t edit a corner effect, but you can change its appearance
by changing the corner radius or modifying the stroke.
If you applied corner effects but can’t see them, make sure
that the path uses corner points and that a stroke color or gradient
has been applied to it. Then increase the Size option in the Corner
Options dialog box, or increase the stroke weight in the Stroke
panel.
|