SimpleVG › Tutorial › Chapter 8

Chapter 8: Arranging Shapes

Goal Control which shape sits in front, line shapes up with the Align tools, flip and mirror them, and repeat a shape around a circle with a Radial Array.

Once a drawing has more than a few shapes, arranging them becomes the main job. Almost everything for it lives in the Format menu in the menu bar.

Part 1: The Format menu and layer order

Draw three overlapping rectangles in different colours, then click Format.

The Format menu open, listing layer order, alignment, join paths, flip, mirror and radial array commands

Shapes stack in the order they were drawn, with the newest in front. The first four commands change that:

Bring to Front / Send to Back
Move the selected shape to the very top or very bottom of the stack.
Bring Forward / Send Backward
Move it up or down by one step.

Select the blue rectangle at the back and choose Bring to Front. It now covers the others.

Three overlapping rectangles with the blue one now in front of the orange and green ones

Part 2: Aligning shapes

The Format menu also holds Align Left, Center, Right, Top, Middle and Bottom. What they do depends on how many shapes are selected:

Press Ctrl+A to select everything, then choose Align Top.

Three rectangles selected together and aligned along their top edges
Note Hold Shift and click to add shapes to a selection one at a time.

Part 3: Flip and mirror

Flip Horizontal (Ctrl+Shift+H) and Flip Vertical (Ctrl+Shift+V) turn the selection over in place. The Inspector also has quick Horiz and Vert flip buttons.

Mirror / Symmetry Duplicate goes a step further: it makes a mirrored copy beside the original, to the right, left, above or below, or across the centre. It is the quick way to build anything symmetrical, such as a pair of valves or a two-sided fitting. Draw one half, then mirror it.

Part 4: Radial Array

A Radial Array repeats a shape around a circle. It is perfect for fan blades, gauge tick marks, bolts around a flange or petals.

Draw one thin rectangle, select it and choose Format > Radial Array (or press Ctrl+Shift+D).

The Radial Array dialog with the number of items, the span angle and the pivot origin
Total Items
How many copies to make, including the original.
Total Span Angle
360 for a full circle, or less for part of one, such as 180 for a semicircle.
Pivot Origin
The point to circle around: the shape's own pivot marker, the centre of the canvas, or the bottom centre of the shape.

Click Create Radial Pattern and the copies are laid out evenly.

Eight rectangles arranged evenly in a circle around the centre of the canvas
Move the pivot first Every selected shape shows an orange crosshair, its pivot. Drag it to where you want the pattern centred before opening the Radial Array dialog. Double-click it to reset it to the shape's centre.

You can also turn a selection a step at a time: Ctrl+R rotates 15° clockwise and Ctrl+U rotates 15° anti-clockwise, around the pivot.

Recap

In the next chapter we trace over an existing picture to turn it into clean vector shapes.

← Chapter 7: Fills and Gradients Chapter 9: Tracing an Image →