SimpleVG › Tutorial › Chapter 2

Chapter 2: Your First Shapes

Goal Draw a rectangle and an ellipse, change a fill colour, and add a text label, learning the select, draw and Inspector routine that everything else builds on.

Start with a blank canvas. Click New in the menu bar if you have anything on it.

Part 1: Open Basic Shapes

In the Toolbox on the left, click the BASIC SHAPES heading to expand it. This section holds the drawing tools: Rectangle, Circle, Line, Polyline, Polygon, Star, Arrow, Arc, Bézier Pen, Freehand and Text.

The Basic Shapes section of the Toolbox expanded, showing the Rectangle, Circle, Line and Polyline tools

Each tool has a keyboard shortcut. Hover over a tool to see it, for example R for Rectangle and C for Circle.

Part 2: Draw a rectangle

Click the Rectangle tool, then press and drag on the canvas, and release. The rectangle appears with the default blue fill and a dark outline, and it stays selected, with handles around it.

A blue rectangle drawn on the canvas, with the Inspector showing its position and size

Notice that the shape lands on the grid. With Snap switched on in the menu bar, positions and sizes round to the 10 pixel grid, which keeps drawings tidy. Click Snap to turn it off if you need free placement.

Part 3: Draw an ellipse

Choose the Circle tool and drag out a second shape. Drag any shape and you get an ellipse. Hold Shift while dragging to constrain it to a perfect circle.

A second shape drawn beside the rectangle, selected, with its handles and Inspector values

Part 4: Position and size with the Inspector

With a shape selected, the Element tab of the Inspector shows its X Position, Y Position, Width and Height. Type new values into any of them and the shape follows, which is the way to place it exactly. You can also drag a shape to move it, drag a handle to resize it, or use the round handle above it to rotate it.

To pick a shape, choose the Select tool at the top of the Toolbox and click it.

Part 5: Change the fill colour

Select the ellipse. Under FILL & STROKE in the Inspector are the SCADA Swatches, a row of colours chosen for process graphics, such as Alarm Red, Warning Yellow, Running Green and Process Amber. Click the amber swatch and the ellipse changes at once. Hover over any swatch to see its name.

The ellipse now filled amber, with the amber swatch highlighted in the Inspector

For any other colour, use the hex value box below the swatches. The Stroke Color and Stroke Width below it control the outline in the same way.

Part 6: Add a text label

Choose the Text tool and click on the canvas. A text label appears and is selected. In the Inspector, type your own wording into Text Content, here Pump Room. Font size and font family are alongside it.

A Pump Room text label added below the shapes, with Text Content shown in the Inspector
Note Made a mistake? Ctrl+Z undoes it and Ctrl+Y redoes it, and the history goes back many steps, so feel free to experiment.

Recap

In the next chapter we look at the canvas, the grid and snapping.

← Chapter 1: Getting Started Chapter 3: Canvas, Grid and Snapping →