4.7. Trapezér

Figur 14.137. The Shear tool in Toolbox

The Shear tool in Toolbox

Shear tool is used to shift one part of an image, a layer, a selection or a path to a direction and the other part to the opposite direction. For instance, a horizontal shearing will shift the upper part to the right and the lower part to the left. A rectangle becomes a diamond. This is not a rotation: the image is distorted. To use this tool after selecting, click on the image or the selection: a grid is possibly superimposed and the Shearing Information dialog is opened. By dragging the mouse pointer on the image you distort the image, horizontally or vertically according to the direction given to the pointer. When you are satisfied, click on the Shear button in the info dialog to validate.

Figur 14.138. Shear example

Shear example

[Bemærk] Bemærk

You can't shear both ways at the same time, you have to use the shear tool twice on end.

4.7.1. Activating the Tool

You can access the Shear Tool in different ways:

  • from the image menu bar ToolsTransform ToolsShear,

  • by clicking on the tool icon: in Toolbox,

  • by using the Shift+S key combination.

4.7.2. Indstillinger

Figur 14.139. Shear tool options

Shear tool options

Normalt vises værktøjsindstillingerne i et vindue under værktøjskassen, så snart du aktiverer et værktøj. Hvis de ikke gør, kan du få adgang til dem fra billedmenulinjen via VinduerDokbare vinduerVærktøjsindstillinger, som åbner indstillingsvinduet for det valgte værktøj.

Transform; Interpolation; Direction; Clipping; Show image preview; Guides
[Bemærk] Bemærk

These options are described in Transform tools common options.

4.7.3. The Shear adjustment dialog

Figur 14.140. The Shear adjustment dialog

The Shear adjustment dialog

Shear magnitude X

Here, you can set the horizontal shearing amplitude. A positive value produces a clock-wise tilt. A negative value gives a counter-clock-wise tilt. The unit used by shearing are half-pixels.

Shear magnitude Y

As above, in the vertical direction.