1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml">
5
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
<title>2.2. Rectangle Selection Tool</title>
7
<link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
8
<link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
9
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1" />
10
<link rel="start" href="index.html" title=" " />
11
<link rel="up" href="ch03s02.html" title="2. Selection Tools" />
12
<link rel="prev" href="ch03s02.html" title="2. Selection Tools" />
13
<link rel="next" href="ch03s02s03.html" title="2.3. Ellipse Selection Tool" />
16
<div xmlns="" class="navheader">
17
<table width="100%" summary="Navigation header">
19
<th colspan="3" align="center" id="chaptername">2.2. Rectangle Selection Tool</th>
22
<td width="20%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td>
23
<th width="60%" align="center" id="sectionname">2.2. Rectangle Selection Tool</th>
24
<td width="20%" align="right"> <a accesskey="n" href="ch03s02s03.html">Next</a></td>
29
<div class="sect2" lang="en" xml:lang="en">
30
<div class="titlepage">
33
<h3 class="title"><a id="gimp-tool-rect-select"></a>2.2. Rectangle Selection Tool</h3>
37
<a id="id3319610" class="indexterm"></a>
38
<div class="informalfigure">
39
<div class="mediaobject">
40
<img src="../images/toolbox/toolbox-rectsel.png" />
43
Rectangle Select icon in the Toolbox
49
The Rectangle Selection tool is designed to select rectangular
50
regions of an image: it is the most basic of the selection tools,
51
but very commonly used. For information on selections and how
52
they are used in GIMP see <a href="ch02s04s04.html" title="4.4. The Selection">Selections</a>; for information on
53
features common to all selection tools see <a href="ch03s02.html#gimp-tool-select" title="2.1. Common Features">Selection Tools</a>.
56
This tool is also used for rendering a rectangle on an image. To
57
render a filled rectangle, create a rectangular selection, and
58
then fill it using the <a href="ch03s06s02.html" title="6.2. Bucket Fill">Bucket Fill tool</a>. To
59
create a rectangular outline, the simplest and most flexible
60
approach is to create a rectangular selection and then <a href="ch02s04s13.html" title="4.13. Stroking a Selection or Path">stroke</a> it.
63
If you want to round the edges of a rectangular selection, the
64
easiest method is to shrink it with
65
<span class="guimenu">Select</span>-><span class="guimenuitem">Shrink</span>
66
from the image menu, and then grow it with
67
<span class="guimenu">Select</span>-><span class="guimenuitem">Grow</span>,
68
using the same radius both times.
70
<div class="simplesect" lang="en" xml:lang="en">
71
<div class="titlepage">
74
<h4 class="title"><a id="id3320269"></a>How to Activate</h4>
79
The Rectangle Selection Tool can be activated from an image
81
<span class="guimenu">Tools</span>-><span class="guisubmenu">Selection Tools</span>-><span class="guimenuitem">Rect Select</span>;
82
from the Toolbox by clicking on the tool icon
83
<span class="guiicon">
84
<span class="inlinemediaobject"><img src="../images/toolbox/rectsel.png" /></span>
86
or from the keyboard using the shortcut <span><b class="keycap">r</b></span>.
89
<div class="simplesect" lang="en" xml:lang="en">
90
<div class="titlepage">
93
<h4 class="title"><a id="id3320158"></a>Key modifiers</h4>
97
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
98
<table border="0" summary="Note">
100
<td rowspan="2" align="center" valign="top" width="25">
101
<img alt="[Note]" src="../images/note.png" />
103
<th align="left">Note</th>
106
<td colspan="2" align="left" valign="top">
108
See <a href="ch03s02.html#gimp-tool-select" title="2.1. Common Features">Selection Tools</a> for
109
help with modifier keys that affect all these tools in the same
110
way. Only effects that are specific to the Rectangle Select
111
tool are explained here.
117
<div class="itemizedlist">
121
<span><b class="keycap">Ctrl</b></span>: Pressing the Ctrl key after starting
122
your selection, and holding it down until you are finished,
123
causes your starting point to be used as the center of the
124
selected rectangle, instead of a corner. Note that if you
125
press the Ctrl key <span class="emphasis"><em>before</em></span> starting to
126
make the selection, the resulting selection will be
127
subtracted from the existing selection.
132
<span><b class="keycap">Shift</b></span>: Pressing the Shift key after starting
133
your selection, and holding it down until you are finished,
134
constrains the selection to be square. Note that if you
135
press the Shift key <span class="emphasis"><em>before</em></span> starting to
136
make the selection, the resulting selection will be
137
added to the existing selection.
142
<span><b class="keycap">Ctrl</b></span>-<span><b class="keycap">Shift</b></span>: Pressing both keys combines the two effects,
143
giving you a square selection centered on your starting
150
<div class="simplesect" lang="en" xml:lang="en">
151
<div class="titlepage">
154
<h4 class="title"><a id="id3320133"></a>Tool Options</h4>
158
<div class="informalfigure">
159
<div class="mediaobject">
160
<img src="../images/toolbox/tool-options-rectsel.png" />
161
<div class="caption">
163
Tool Options for the Rectangle Select tool
168
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
169
<table border="0" summary="Note">
171
<td rowspan="2" align="center" valign="top" width="25">
172
<img alt="[Note]" src="../images/note.png" />
174
<th align="left">Note</th>
177
<td colspan="2" align="left" valign="top">
179
See <a href="ch03s02.html#gimp-tool-select" title="2.1. Common Features">Selection Tools</a> for
180
help with options that are common to all these tools. Only
181
options that are specific to the Rectangle Select
182
tool are explained here.
188
<div class="variablelist">
191
<span class="term">Antialiasing</span>
195
This option performs no function for this tool and is present to
196
unify the user interface between the various selection types.
200
<span class="term">Auto Shrink Selection</span>
204
The <span class="guilabel">Auto Shrink Selection</span> checkbox will
205
make your next selection automatically shrink to the nearest
206
rectangular shape available on the image layer. The
207
algorithm for finding the best rectangle to shrink to is
208
"intelligent", which in this case means that it sometimes
209
does surprisingly sophisticated things, and sometimes does
210
surprisingly strange things. In any case, if the region
211
that you want to select has a solid-colored surround,
212
auto-shrinking will always pick it out correctly. Note that
213
the resulting selection does not need to have the
214
same shape as the one you sweep out.
217
If <span class="guilabel">Sample Merged</span> is also enabled, then Auto
218
Shrink will use the pixel information from the visible
219
display of the image, rather than just from the active
220
layer. For further information regarding Sample Merge, see
221
the glossary entry <a href="go01.html#glossary-samplemerge">Sample
226
<span class="term">Size Constraints</span>
229
<div class="informalfigure">
230
<div class="mediaobject">
231
<img src="../images/toolbox/tool-options-rectsel-size.png" />
232
<div class="caption">
234
Size Constraint Option Menu for the Rectangle Select tool
240
This menu allows you the option of constraining the shape of
241
the rectangle in three different ways.
243
<div class="itemizedlist">
246
<p><b>Free Select. </b>
247
This option places no constraint on the rectangle.
251
<p><b>Fixed Size. </b>
252
This will allow you to manually specify a size for the
253
selection using the Width, Height, and Unit controls.
257
<p><b>Fixed Aspect Ratio. </b>
258
This option allows you to resize the selection while
259
keeping the aspect ratio fixed according to the two numbers
260
entered in the Width and Height controls.
270
<div class="navfooter">
272
<table width="100%" summary="Navigation footer">
274
<td width="40%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td>
275
<td width="20%" align="center">
276
<a accesskey="u" href="ch03s02.html">Up</a>
278
<td width="40%" align="right"> <a accesskey="n" href="ch03s02s03.html">Next</a></td>
281
<td width="40%" align="left" valign="top">2. Selection Tools </td>
282
<td width="20%" align="center">
283
<a accesskey="h" href="index.html">Home</a>
285
<td width="40%" align="right" valign="top"> 2.3. Ellipse Selection Tool</td>