Skip to content

Drawing shapes

Pick a tool in the tool palette, or press its key:

ToolKeyDraw by
LineLdragging from one end to the other
RectangleRdragging from one corner to the opposite one
CircleCdragging from the centre out to the radius
PathPclicking node by node: see Paths
TextTdragging out a box: see Text

After drawing, Delinya goes back to the Select tool and selects the new shape, so you can type its exact size in the panel straight away. Hold Shift as you release to stay in the same tool and draw another.

Holding Shift while dragging keeps a rectangle square and a line at multiples of 45°.

A line, a 100 × 70 mm rectangle and a 50 mm circle, each with its dimensions in blue: the line's length, the rectangle's width and height, and the circle's diameter

Snapping

The pointer snaps to other shapes’ key points (ends, corners, midpoints, centres and a circle’s quarter points) within a few pixels, and otherwise to the grid. The status bar says what it snapped to.

A line being drawn towards a rectangle, its end snapped to the middle of the rectangle's top edge, which is marked with a small orange square

The grid’s spacing belongs to the drawing (1 mm unless you change it in Properties… → Grid). Showing the grid and snapping to it are your own settings, also in Properties: with grid snap off, points round to 0.01 mm, but still snap to other shapes. Zoomed out, the grid shows every 2nd, 5th or 10th line so it never gets too dense.

Properties, on the Grid tab: Spacing 1 mm, with Show grid and Snap to grid both ticked

Exact sizes

The selection panel shows the selected shape’s position and sizes in millimetres: x and y (a rectangle’s top-left corner, a line’s start), then width and height for a rectangle, length and angle for a line, and for a circle cx and cy (its centre) and its diameter. Type a value and press Enter or Tab. Angles are in degrees, clockwise on screen from pointing right.

The selection panel for a line: its name, x and y, length 100 mm, angle −36.87° (pointing up and to the right), and its length dimension ticked The selection panel for a circle: its name, cx and cy, diameter 50 mm, and its diameter dimension ticked

A rectangle also has a rotation and corner radii: see Rotate and duplicate and Dimensions.

Names

Every shape has a name. Until you give it one it goes by its id, a code like rect_bt5a44hq, which the name field at the top of the panel shows greyed out: type over it to name the shape. Once it has a name, tick show to write it in the middle of the shape (just above the middle of a line), in its layer’s colour, on screen and in print, PDF and SVG (Print / Export’s Shape names option can leave them out); DXF leaves names out. Clearing the name stops it showing. Text boxes have names but don’t show them, since their text is already there.

A name is just a label: dimensions and links don’t depend on it, so renaming a shape changes nothing else.

Where new shapes go

New shapes go on the current layer (see Layers) in the current line style (see Line styles). With Dimension new shapes on in the toolbar, a new rectangle gets its width and height dimensions, a circle its diameter and a line its length.