The Paths tool allows to create complex selections called Bézier Curves, a bit like Lasso but with all the adaptability of vectorial curves. You can edit your curve, you can paint with your curve, or even save, import, and export the curve. You can also use paths to create geometrical figures. Paths have their own dialog box: Dialog.
You can get this tool in several ways:
In the main menu through
→ .By clicking the tool icon: in the Toolbox.
By using the B keyboard shortcut.
Poznámka | |
---|---|
Help messages pop up at the bottom of the image window to help you about all these keys. |
B aktivuje nástroj Cesty.
Three modes are available to work with the Paths tool: Design,Edit and Move. Ctrl key toggles between Design and Edit. Alt (or Ctrl+Alt) key toggles between Design and Move.
Normally, tool options are displayed in a window attached under the Toolbox as soon as you activate a tool. If they are not, you can access them from the image menu bar through
→ → which opens the option window of the selected tool.Ve výchozím nastavení je nástroj Cesty v návrhovém režimu (volba Návrh ). Cesta se vytváří postupným klikáním na požadovaná místa kontrolních bodů. Kontrolní body lze přesouvat kliknutím na ně a tažením. Úseky mezi kontrolními body se nazývají segmenty.
Tip | |
---|---|
To quickly close the curve, press Ctrl key and click on the initial control point. In previous versions, clicking inside a closed path converted it into Selection. Now, you can use the button or the Path to Selection button in the Path Dialog. |
Tip | |
---|---|
Pokud máte dvě rukojeti, udržují ve výchozím nastavení souměrnost. Uvolněním myši se rukojeti stanou nezávislé. Klávesou Shift lze obnovit symetrické chování. |
Several functions are available in Design mode:
Inserting a new node: When you press Ctrl and hover the mouse pointer over the existing path, the mouse pointer changes to the '+' sign. Clicking will create a new path node in the hovered point of the path.
Moving one or several nodes: On a node, the mouse pointer becomes a 4-arrows cross. You can click and drag it. You can select several nodes by Shift and click and move them by click and drag. Pressing Ctrl+Alt allows to move all the path, as a selection.
Modifying handles: You have to Edit a node first. A handle appears. Drag it to bend the curve. Pressing Shift toggles to symmetric handles.
Modify segment: When the mouse pointer moves over a segment, it turns to a 4-arrows cross. Click and drag it to bend the segment. As soon as you move it, handles appear at both ends of the segment. Pressing the Shift key toggles to symmetric handles.
Adding a new subpath: When you press Shift and hover the mouse pointer outside the existing path, the mouse pointer starts displaying a square. Clicking will start a subpath that isn't connected to other curves, but is considered a part of the path.
Edit performs functions which are not available in Design mode. With this mode, you can work only on the existing path. When the mouse pointer is not on the path, the pointer changes to a small crossed circle and you can not do any path editing.
Add a segment between two nodes: Click on a node at one end of the path to activate it. The pointer is like a union symbol. Click on an other node to link both nodes. This is useful when you have to link unclosed components.
Remove a segment from a path: While pressing Shift+Ctrl key combination, point to a segment. The mouse pointer turns to a "-" sign. Click to delete the segment.
Add a node to a path: point to a segment. Pointer turns to "+"". Click where you want to place the new control point.
Remove a node: While pressing Shift+Ctrl key combination, point to a node. Pointer turns to "-"". Click to delete the node.
Přidat rukojeť k uzlu: Tažením uzlu se objeví rukojeti. Podržení klávesy Shift přepne do symetrického režimu.
Remove a handle from a node: While pressing Shift+Ctrl key combination, point to a handle. The pointer doesn't turn to the expected "-"" and remains a hand. Click to delete the handle.
Výstraha | |
---|---|
There is no warning before removing a node, segment or a handle. |
V režimu přesunu (volba Přesun) je možné snadno přesouvat celou cestu nebo její části. Prostým kliknutím a tažením lze cestu snadno přesunout.
If you have several components, only the selected one is moved. If you click and drag outside the path, all components are moved. Pressing the Shift key toggles between moving all components and selected components only.
Je-li aktivní tato volba, nejsou používány rukojeti a cesta je složena jen z rovných úseček. Ani při přesunu se segmenty neohýbají.
This button allows creation of a selection that is based on the path in its present state. This selection is marked with the usual "marching ants". Note that the path is still present: the current tool is still the path tool and you can modify this path without modifying the selection that has become independent. If you change tools, the path becomes invisible, but it persists in the Paths dialog and you can re-activate it.
Pokud není cesta uzavřená, uzavře ji GIMP rovnou úsečkou.
As the help pop-up tells, pressing Shift when clicking on the button will add the new selection to an already existing one. Pressing Ctrl will subtract the selection from the pre-existing selection, and the Shift+Ctrl key combination will intersect the two selections.
This lets you fill an enclosed path with a solid color or pattern.
See 3.21 – „Vykreslit cestu“ and 5 – „ Cesty “.
See the „Path“ concept.