Accessibility
Marisa Bozza

Marisa Bozza

Macromedia

Created:
12 September 2005
User Level:
Beginner
Products:
Fireworks

Using the New Auto Shape Properties Panel

Auto Shape objects, referred to informally as "Auto Shapes," are intelligent vector object groups that adhere to specialized rules to simplify how you create and edit common visual elements. The Auto Shape Properties panel in Fireworks 8 is like a property inspector specifically designed to provide precise control over Auto Shape objects. No such panel existed before; in Fireworks MX 2004 control over Auto Shape properties was limited to whatever you could achieve by manipulating the yellow control points on an Auto Shape object.

While this method is still available in Fireworks 8, the Auto Shape Properties panel greatly enhances the level of control you have over specific shape properties such as corner roundness for rectangles; arrow height, width, and thickness; and the inner radius of doughnut shapes.

Requirements

To complete this article you will need to install the following software:

Fireworks 8

Auto Shape Objects

Auto Shape objects are created as object groups. Unlike other object groups, however, selected Auto Shapes show diamond-shaped control points in addition to object group handles. Because each control point is associated with a particular visual property of the shape, dragging a control point alters only the associated visual property, described next.

Most control points include tooltips that describe how they affect the Auto Shape object. Move the pointer over a control point to see the tooltip. You can edit the following Auto Shape object attributes:

  • Arrow: An object group that appears as a simple arrow. Using control points, you can adjust the arrowhead flare, tail length and width, and tip length.
  • Beveled Rectangle: An object group that appears as a rectangle with beveled corners. Using control points or the Auto Shape Properties panel, you can edit the amount of bevel for all corners together or change the bevel of individual corners.
  • Chamfer Rectangle: An object group that appears as a rectangle with chamfers (corners that are rounded to the inside of the rectangle). You can edit the chamfer radius of all corners together or change the chamfer radius of individual corners.
  • Connector Line: An object group that appears as a three-segment connector line, such as those connecting elements in a flowchart or organizational chart. Using control points or the Auto Shape Properties panel, you can edit the end points for the first and third sections of the connector line, as well as the location of the second section, which connects the first and last sections.
  • Doughnut: An object group that appears as a filled ring. Using control points or the Auto Shape Properties panel, you can adjust the inner perimeter or split the shape into pieces.
  • L-Shape: An object group that appears as a right-angled corner shape. Using control points or the Auto Shape Properties panel, you can edit the length and width of the horizontal and vertical sections, as well as the curvature of the corner.
  • Pie: An object group that appears as a pie chart. Using control points or the Auto Shape Properties panel, you can split the shape into pieces.
  • Smart Polygon: An object group that appears as an equilateral polygon with three to 25 sides. Using control points or the Auto Shape Properties panel, you can resize and rotate, add or remove segments, increase or decrease the number of sides, or add an inner polygon to the shape.
  • Rounded Rectangle: An object group that appears as a rectangle with rounded corners. Using control points or the Auto Shape Properties panel, you can edit the roundness of all corners together or change the roundness of individual corners.
  • Spiral: An object group that appears as an open spiral. Using control points or the Auto Shape Properties panel, you can edit the number of spiral rotations, as well as determine whether the spiral is open or closed.
  • Star: An object group that appears as a star with any number of points from three to 25. Using control points or the Auto Shape Properties panel, you can add or remove points, as well as adjust the inner and outer angles of the points.
  • Add Shadow: An object group that adds a shadow beneath the selected vector object based on the dimensions of that object. This shadow is actually an Auto Shape and, like all Auto Shapes, contains control points that you can use to manipulate its appearance. For example, you can Shift-drag the Direction control point to constrain its movement to a 45-degree angle. Clicking the Direction control point resets the shadow to its original shape. You apply this Auto Shape by selecting Commands > Creative > Add Shadow.

The following sections describe how to change Auto Shape properties from the panel. For most shapes, simply entering a new value into a text box and pressing Tab or Enter applies it to the current shape. Some shapes have check boxes and buttons. Pressing these applies the changes immediately.

Note: When you click anywhere inside a SWF command panel in Fireworks (such as the Align, Auto Shape Properties, Image Editing, and Special Characters panels), the panel gets the focus and all subsequent key strokes are captured by the panel. As long as the panel has the focus, Fireworks shortcut keys will not work. In order to use Fireworks shortcut keys again, first click back inside Fireworks (that is, anywhere outside the panel).

Auto Shape Properties Panel

Figure 1 shows the default appearance of the Auto Shape Properties panel.

Default appearance of the Auto Shape Properties panel

Figure 1. Default appearance of the Auto Shape Properties panel

If you have exactly one valid Auto Shape selected on the canvas, you will see a specific set of properties for that shape, as shown in the following sections. The following is a list of conditions under which this default panel will be shown:

  • No active document is open
  • No active selection exists on canvas
  • No valid selection exists on canvas
  • Two or more objects (valid or otherwise) are selected

Only Auto Shape object tools included in the shipping version of Fireworks 8 are considered valid. Any previous versions (those used in Fireworks MX 2004) and those in the Shapes tab of the Assets panel are ignored by the Auto Shapes Properties panel.

Using the pop-up menu at the bottom of the panel inserts a new Auto Shape object in the middle of the canvas.

Auto Shape Types

Following are the types of Auto Shapes you can insert into your graphics.

Arrow

Arrow propertiesArrow properties shown

Figure 2. Arrow properties (left) and corresponding parts (right)

Mouse over each term below to see what they indicate in Figure 2:

Rectangle (Beveled, Chamfer, and Rounded)

Rectangle properties

Figure 3. Rectangle properties

The Rectangle properties (see Figure 3) are as follows:

  • W: Width of the rectangle
  • H: Height of the rectangle

Clicking the lock icon locks/unlocks the corner types and radii. If the corner types and/or their radii are different (that is, unlocked) and if you click the lock icon, the top-left corner properties are used for the remaining corners. Unlocking makes no visible difference.

Clicking a corner type button rotates through all three corner types.

If the corners are locked, entering a new value for any of the four corner radii or clicking any one of the four buttons applies the change to all four corners.

Connector Line

Connector Line properties Example of a connector line

Figure 4. Connector Line properties (left) and example of a connector line (right)

The Connector Line properties (see Figure 4) are as follows:

  • Offset: Distance between one end of the connector line and vertical/horizontal line between the two ends
  • Corner: Corner radius
  • Height/Width: Height/width of the connector line

A connector line can take one of two forms: horizontal (default) or vertical. When in horizontal mode, you can specify its height numerically. Similarly, when in vertical mode, you can specify its width numerically.

Each end of the Connector Line shape now automatically snaps to an object's side when you release it over an object.

The "1" and "2" in Figure 4 refer to the two ends of the connector line. To find out which one is which, simply rollover one of them; the tooltip indicates which end it is.

Doughnut

Doughnut properties

Figure 5. Doughnut properties

The Doughnut properties (see Figure 5) are as follows:

  • Segments: Each value in the Segments field indicates the angle of each control point around the circumference
  • Outer Radius: Outer radius of the doughnut
  • Inner Radius: Inner radius of the doughnut

L-Shape

L-Shape properties

Figure 6. L-Shape properties

The L-Shape (see Figure 6) is a variant of the Arrow shape (an Arrow shape without the arrow tip). All the properties are identical to those used by the Arrow shape.

Pie

Pie properties

Figure 7. Pie properties

The Pie shape (see Figure 7) is a variant of the Doughnut shape (a Doughnut shape without the inner radius). All the properties are identical to those used by the Doughnut shape.

Smart Polygon

Smart Polygon properties

Figure 8. Smart Polygon properties

The Smart Polygon properties (see Figure 8) are as follows:

  • Points: Total number of points
  • Sides: Number of segments (up to the number of points)
  • Outer Radius: Outer radius of the polygon
  • Inner Radius: Inner radius of the polygon
  • Rotation: Number of degrees by which to rotate the polygon
  • Split: When checked (default), the polygon is split into separate segments; otherwise the polygon is drawn as a single closed path

Spiral

Spiral properties Example of a spiral

Figure 9. Spiral properties (left) and example of a spiral (right)

The Spiral properties (see Figure 9) are as follows:

  • Radius: Radius of the spiral, as shown by the red line; spiral tightness is adjusted manually by using the appropriate control point
  • Clockwise: When checked (default), a clockwise spiral is drawn; otherwise an anti-clockwise spiral is drawn
  • Close Spiral: When checked, a closed spiral is drawn; otherwise an open spiral is drawn (default)

Star

Star properties

Figure 10. Star properties

The Star properties (see Figure 10) are as follows:

  • Points: Number of points
  • Radius 1/2: Distance from the center of the star; these properties determine the sizes of the points
  • Roundness 1/2: Distance from the center of the star; these properties determine the roundness (or the sharpness) of the points. Certain combinations of the properties can result in interesting shapes that do not resemble a simple star.

Addendum: Shadow

Unlike the other Auto Shapes described in this article, you cannot insert a shadow by selecting the Insert New Auto Shape pop-up menu in the Auto Shape Properties panel. You can insert a shadow only by selecting Commands > Creative > Add Shadow. However, once you add the shadow, you can access its properties in the Auto Shape Properties panel (see Figure 1).

Shadow properties

Figure 11. Shadow properties

The Shadow properties are as follows:

  • Offset X: Shadow offset along the x-axis
  • Offset Y: Shadow offset along the y-axis; a negative value means that the shadow is above the base of the shape (default)
  • Width: Width of the shadow; adjust this property to simulate a perspective shadow

Figure 12 shows an example of a perspective shadow.

Example of a shadow

Figure 12. Example of a shadow

Where to Go from Here

For more information about enhancing your graphics, check out the Creating and Editing Graphics topic page in the Fireworks Developer Center. Jim Babbage writes about shadows in his article, Fireworks 8: Only the Shadow Knows.

About the author

Marisa Bozza is lead QA engineer on the Macromedia Fireworks development team. Since joining the team in 1999, Marisa has been involved in all stages of design and development for Fireworks.