How to create geometric lines and shapes in GIMP
There are multiple methods for adding geometric elements to your GIMP projects. To begin, create a new document, or opening an existing one, then follow these steps.
Using selection tools to create rectangles and ellipses
To create rectangles and ellipses using selection tools, follow the steps below.
- Select the Rectangle Select Tool or Ellipse Select Tool from the tools menu.
- Enable Expand from center from the tool options menu.
- For a perfect circle or square, enable Fixed aspect ratio from the tool options menu, and enter an aspect ratio of 1:1 into the text box.
- Move your cursor to the desired center location of your shape.
- Drag your cursor to the edge of the shape to create a selection area. When an area is selected, only pixels inside that area may be modified.
- If desired, change the position of your selection by clicking inside the shape and dragging it.
- Select the Bucket Fill Tool from the tools menu.
- Fill the selection with color by clicking inside of it.
- To edit anything outside the selection, right-click, and choose Select, then None.
Using the shape of the brush to create shapes
You can also create shapes by changing the brush type and size.
- Select the Pencil Tool from the tools menu.
- In the Tool options menu, select the Brush icon. (The default icon is a circle.)
- Select a brush type that resembles the shape you want, such as block, star, or ellipse.
- Set Hardness to 100.
- Change the size and aspect ratio to your preferences. For a perfect circle or square, set the aspect ratio to 0.
- Move your cursor to the desired location of the shape.
- To use the brush to create the shape, left-click once.
Creating straight lines with the brush tool
To draw straight lines, select your desired brush tool and click the starting point of your line. Hold Shift and move your cursor to the endpoint. End the line with a single click. For a line without round edges, select the block brush.
Additional notes and tips
- You can use the keyboard shortcuts R (Rectangle) and E (Ellipse) to select those tools.
- The bracket keys can change the brush size. The left bracket ([) decreases the brush size and the right bracket (]) increases the brush size.
- Creating new layers for each shape makes editing easier if your document gets more complex.