3.19. Stroke Paths

The Stroke Paths… command strokes a path in the image. There are two ways you can stroke the path, either by using a paint tool, or without using one. There are various options which you can use to specify how this stroke should look.

[Nota] Nota

Questo comando è attivo solo se c'è un tracciato nell'immagine.

3.19.1. Attivazione del comando

  • You can access this command from the main menu through EditStroke Paths….

  • You can also access it by clicking on the button with the same name in the Paths Dialog.

3.19.2. Descrizione della finestra di dialogo

Figura 16.15. La finestra di dialogo «Scegli lo stile della delineatura»

La finestra di dialogo «Scegli lo stile della delineatura»

The Choose Stroke Style dialog box allows you to choose between stroking the path with the Line options you specify or stroking it with a Paint tool.

Line

Foreground color, Background color, Motivo

Choose whether the line is drawn with the current Foreground color or Background color or Pattern, set in the Toolbox. This is distinct from the Dash pattern. If you select one of the two color options with no dash pattern, an unbroken line is drawn in the color set in the Toolbox. If you select Pattern with no dash pattern, an unbroken line is drawn with the pattern set in the Toolbox. If you select a line with a dash pattern, the color or pattern is still determined by the color or pattern set in the Toolbox. That is, if you have a marbled pattern set in the Toolbox, and select Pattern and dashed lines as Dash pattern, the dashes are drawn in the marbled pattern.

Antialiasing

Curved strokes or strokes drawn at an angle may look jagged or stair-stepped. The anti-aliasing option smooths them out.

Line width

Usando questa casella è possibile impostare lo spessore del tratto da usare. L'unità di misura predefinita è il pixel, ma è possibile sceglierne una diversa tramite l'elenco a cascata.

Cap style

Choose the shape of the ends of an unclosed path, which can be Butt, Round or Square.

Join style

You can choose the shape of the path corners by clicking on Miter, Round or Bevel.

Miter limit

When two segments of a path come together, the mitering of the corner is determined by the Miter Limit. If the strokes were wide, and no mitering were done, there would be pointed ends sticking out at the corner. The Miter Limit setting determines how the gap, formed when the outer edges of the two lines are extended, will be filled. You can set it to a value between 0.0 and 100.0, by using the slider or the associated text box and its arrows.

Figura 16.16. Esempio di limite spigolo

Esempio di limite spigolo

Left image: Limit=0. Right image: Limit=5.


Dash pattern

On the pixel level, a dashed line is drawn as a series of tiny boxes. You can modify the pattern of these boxes. The black area with thin vertical lines represents the pixels of the dash. If you click on a black pixel, you remove it from the dash. If you click on a white pixel, you add it to the dash. The gray areas indicate how the pattern will be repeated when a dashed line is drawn.

Dash preset

Instead of making your own dash pattern, you can choose one from the drop-down box. This pattern will then be displayed in the Dash pattern area, so you can get an idea of how it will look.

Strumento di disegno

Paint tool

Select a paint tool to use from the drop-down box to draw the stroke. The current options of the paint tool options are used to draw the stroke.

Emulate brush dynamics

Vedere Pennelli dinamici.