How to align rotation of a triangle to a rectangle in Inkscape?


I created a rectangle and a triangle using the polygon tool. When I created the triangle the rotation of the triangle was arbitrary, so I have the following situation:

enter image description here

How can I make the rotation of the triangle align with the rectangle so it makes a perfect arrow shape similar to:

enter image description here

I try selecting the triangle and rotating it but then I'm just aligning it visually and I'd like to do it precisely so the left edge of the triangle is perfectly vertical. I tried using the transform tool but the rotation degree seems to be relative to its current angle so that doesn't really help me (unless I'm misunderstanding it).

9/22/2015 10:10:00 PM

Accepted Answer

After clicking the polygon tool and selecting the number of corners, while dragging on the canvas press Ctrl key, so that it snaps the triangle (kind of equilateral triangle where base is horizontal). Now selecting the triangle with the selection tool, click on rotate selection 90 deg clockwise (short key-CTRL+ ] ) from the control panel which gives you a precise left edged triangle. If its created without snapping (the first step without holding Ctrl key), then the triangle still can be rotated with precised edge on the left. To do this you need to activate snapping options.


9/22/2015 10:38:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow

Website under construction!!!