## Working with Shapes & Polygons

In Working with Frames there is information on manipulation of frames which is applicable to all frame types. There we only explained how to start creation of shapes and polygons by using the appropriate toolbar icon, or using keyboard S or P.

With shapes and polygons, you have a number of choices to make with each about what kind of shape or polygon to create. All of these are vector drawings, so you can freely resize or edit them after creation. Let’s start with shapes.

### Shapes

Shapes are a collection of predetermined shapes, and with version 1.4.x have been greatly increased in number. The default shape when you start Scribus is the simple rectangular shape which the icon shows. Just to the right side of the shape figure on the toolbar is an arrow for a drop down list of subselections. Once you select from a drop down category and specific type (click with the mouse), you see the toolbar icon change to your selected shape. Note: the appearance of the Shapes icons has been enhanced in the image to the right – they will not appear as distinct as this.

As stated in Working with Frames, the default line and fill color for shapes and polygons is “None.” You can change that for the current documents in File > Document Setup > Tools > Shape (icon), and for future documents in File > Preferences > Tools > Shape (icon).

Just like other frames, you simply click-drag from one corner of the shape to its opposite. If you hold down Shift while click-dragging, when you let up on the mouse the shape will fill to the margins of your page.

| Another option with shapes is to make your selection from the list, then simply click on the page, i.e., do not drag the mouse. This brings up a new dialog, Enter Object Size, in which you can make a shape of pre-determined dimensions. This would be useful, for example, for making an exact square or circle. The Origin relates to the point on the page where you clicked to bring up this dialog.

### Polygons

Polygons in Scribus are regular polygons, which when drawn with equal width and height dimensions, will have equal sides and angles. Default is for 4 sides (corners), although you may have anything from 3 to 999 sides. The Polygons icon will always show a pentagon, but by selecting Properties from the drop-down you get the dialog to the right. As you see, your choices here are restricted to the geometry of the polygon. You can set defaults for line and fill colors and shading, and line thickness in File > Preferences > Tools > Shape (icon) or in File > Document Settings > Tools > Shape (icon). Your choices in File > Preferences > Tools > Polygon (icon) and in File > Document Settings > Tools > Polygon (icon) will be limited to what you see here in the Polygon Properties dialog.

In 1.5+ we have new settings for Polygon Properties. Number of Corners and Rotation need no explanation, but note that the rotation can be set in the spinbox or with the slider.

Apply Factor allows the usage of the remaining settings. In this example, setting the Factor less than 0% causes the sides to bend inward in the middle. The Inner Rotation setting has shifted the bending points clockwise, and finally, Outer Curvature causes the line segments to bend outward.

The best way to learn what the various settings do is simply to play with them then see the results. If you draw your polygon with unequal width and height, you will see various kinds of distortions compared to the small preview window.

Just as with shapes, if you activate the polygons icon, then click the canvas, you will get the Enter Object Size dialog.

### Context Menu

The context menu with shapes and polygons has fewer choices than with text or image frames.

- Undo is active only when there is some operation on the frame which can be undone.
- Redo is only present when some action has been undone.
- Attributes will not be covered here.
- Is Locked can be checked to lock all features of the object.
- Size is Locked locks only that feature.
- Send to Scrapbook and Send to Patterns allow you to easily use the object again in this or another document.
- Send to Layer is present when your document has more than one layer.
- Level is for raising or lowering this object relative to others on this layer.
- Convert to allows conversion to

- Bezier curve – this would be necessary to Attach Text to Path using a shape or polygon.
- Image Frame – you may need to edit line and fill colors. If your image completely fills the frame, the fill color will not show unless there is transparency.
- Text Frame – you may need to edit line and fill colors.

- Cut, Copy, and Delete are covered in Working with Frames
- Properties simply shows or hides the Properties palette.

</td</tr>

#### Editing Shapes

This will be handled in its own section, since it has much greater applicability than just to geometric figures.