Rotating Presentation Shapes

You can rotate presentation shapes either in the graphical editor or by specifying the required rotation angle in the shape properties. 

 Please note that you cannot rotate pixels, GIS maps and view areas.

Rotating shapes in the graphical editor

Presentation shapes can be rotated directly in the graphical editor by dragging the shape's rotation point. 

 To show the rotation point of the shape
  1. In case of rectangle, rounded rectangle, oval, arc, text, image,  CAD drawing or non-empty group of shapes, select the shape in the graphical editor by clicking it.
    In case of polyline or curve, right-click (Mac OS: Ctrl+click) the shape in the graphical editor and choose Edit shape from the context menu.
  2. You will see a small circle near or inside the shape (see the figure below). It is the rotation point for the selected shape. If you place the mouse over this point, you will see that the mouse cursor changes to

In order to

Use the mouse like described here


Rotate the shape by angles restricted by multiples

Click on the rotation point with the left mouse button and, while holding the button down, move the mouse in the required rotation direction:

It is the most frequently used type of rotation. 

Rotating the mouse right near the rotation point, you restrict the rotation angles to multiples of 15 degrees (15, 30, ...).

Shape rotated by 15 degrees

Moving the mouse aside from the rotation point while dragging, you restrict angles to multiples of 5 degrees (5, 10, ...), moving a little bit more aside - you restrict angles to integer values (1, 2, ...). 

Rotate the shape by any angle

Press Alt, then click the rotation point and while holding both Alt and the left mouse button down, move the mouse in the required rotation direction:

This type of rotation enables to rotate shapes by any angles (not only by integer ones as in the case described above).

Shape rotated by 5,79... degrees

Rotate the shape by an angle multiple of 90 degrees

Press Shift, then click the rotation point and while holding both Shift and the left mouse button down, move the mouse in the required rotation direction:  

The shape gets rotated by angles multiple of 90 degrees (90, 180, 270 degrees).

Shape rotated by 90 degrees

Changing the shape's rotation point

When you rotate a shape, it rotates around its rotation point. For the majority of shapes (rectangle, image, etc.) it is the shape's top-left corner. 

You may need to rotate a shape around its center, which requires shifting the shape's rotation point. It can be achieved by including the shape in a group: in this case, the group's origin will be used as a rotation point.

To change the shape's rotation point

  1. Right-click the shape and select Grouping > Create a Group from the context menu.

    A new group containing the shape will be created. The group's rotation point is located in the center of the shape, so you can rotate the group and thus the rectangle around its center.

  1. To further reposition the rotation point, right-click the group and select Select Group Contents from the context menu.
  2. The group contents, i.e. the rectangle, will be selected. Move the shape so that the rotation point appears in the required position relative to the shape.

Specifying the rotation angle in the shape properties

 To define shape's rotation angle in degrees

  1. Select the shape by clicking it in the graphical editor or in the Projects view. 
  2. In the Position and size section of the Properties view, enter the shape's rotation angle in the Rotation edit box. 

To rotate a shape dynamically at the model runtime, specify an expression that will be reevaluated at the model runtime and return the shape's rotation angle. This can be done in the Rotation property located in the Position and size section of the shape properties.

Please note that while in the static Rotation property (located on the Position and size section) you define angles in degrees, the expression specified in the dynamic Rotation field returns not degrees, but radians.