7.50. オフセット...

The Offset command shifts the content of the active layer. Anything shifted outside the layer boundary is cropped. This command displays a dialog which allows you to specify how much to shift the layer and how to fill the space that is left empty by shifting it. It can be used to create tileable patterns.

7.50.1. コマンドの呼び出し方

  • You can access this command from the main menu through LayerTransformOffset,

  • キーボードショートカット Shift+Ctrl+O

7.50.2. Offset Options

図16.116 オフセットダイアログ

「オフセット」ダイアログ

Presets, Preview, Split view

These options are common to GEGL-based dialogs. Please refer to 「Common Features」.

オフセット...
X; Y

水平 X と垂直 Y の縦横 2 つの値でレイヤー上の内容のずらし距離を数値記入欄に示してください。 負の値なら右方向と下方向に移動です。 既定の単位はピクセルですが、 引き出しメニューで他の単位も使用できます。 %を単位とすると便利な場合があります。

Since GIMP-2.10.12, you can click-and-drag on canvas to move the layer.

オフセットを (x/2) と (y/2) に

このボタンはレイヤー上の内容が幅の半分と高さの半分にちょうどずれるように XY の値を自動調整します。

境界部分の処理方法

レイヤーの内容をずらしたあとに残される空いた領域を埋め合わせる方法にはつぎの 3 つの選択肢があります。

  • はみ出し部分を回り込ませる: レイヤーの空き領域にはもう一方の境界線よりはみ出した部分が入ります。 描かれた内容が切り捨てられることはありません。

  • 背景色で塗りつぶす: レイヤーの空き領域はツールボックスの色標識に示される背景色で塗りつぶされます。

  • Make transparent: The empty space is made transparent. If the layer does not have an alpha channel, this choice is disabled.

7.50.3. Examples

図16.117 いろいろな境界部分の処理方法オフセットの様子

いろいろな「境界部分の処理方法」と「オフセット」の様子

元画像

いろいろな「境界部分の処理方法」と「オフセット」の様子

Y = -40 とし、 はみ出し部分を回り込ませる

いろいろな「境界部分の処理方法」と「オフセット」の様子

Y = -40 とし、 背景色で塗りつぶす

いろいろな「境界部分の処理方法」と「オフセット」の様子

Y = +40 とし、 透明にする


図16.118 Repeatable pattern

Repeatable pattern

Original

Repeatable pattern

Wrap around. Click on Offset by x/2, y/2

Repeatable pattern

Scale down a copy-paste pattern repeatedly.