3.21. 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.

[Note] Note

Cette commande n’est active que si un chemin existe dans votre image.

3.21.1. Accès à la commande

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

  • Vous pouvez aussi y accéder par le bouton du même nom dans le Dialogue des Chemins.

3.21.2. Options

Figure 16.17. Options

Options

Vous avez la possibilité de choisir entre tracer le chemin avec les options que vous spécifiez, et le tracer à l’aide d'un outil de peinture. Si vous tracez avec un outil de peinture, les options actuelles de l’outil seront utilisées.

Ligne de Tracé

La couleur de Premier-plan de la Boîte à outils est utilisée. Vous n’utilisez pas d'outil de peinture, mais vous pouvez régler divers aspects du tracé :

Épaisseur de ligne

Vous pouvez régler la largeur du tracé grâce au curseur ou à la boîte de texte, en pixels par défaut, mais vous avez la possibilité de choisir une autre unité de mesure avec le bouton de liste déroulante.

Couleur pleine / Motif

Ces deux boutons-radio vous permettent de basculer le choix du mode de tracé entre une couleur unie ou un motif.

Style de ligne

This drop-list brings some detailed options:

  • Cap Style: You can 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.

    Figure 16.18. Ratio pointe/ligne

    Ratio pointe/ligne

    Limite d'onglet=0 << - - - - - - - - - - - - - - - >> Limite d'onglet=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.

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

Tracer en utilisant un Outil de peinture
Outil de peinture

Vous pouvez choisir un outil dans la liste déroulante et bénéficier ainsi de toutes ses options pour tracer le chemin.

Émuler une brosse dynamique

Voir Dynamique de la brosse.