These three tools for drawing geometric shapes: Rectangle (Rectangle Tool (R)), Oval (Oval Tool (O)) and Polygon (PolyStar Tool) are on the Tools Panel, all in the "Rectangle" button (see the image below). They are used to quickly draw simple geometric shapes.
To select one of the tools "hidden" in the Rectangle Tool button, click and hold it.
They are easy to use; you just click and drag on the Stage to create the shapes.
There are two types of tools to each rectangle and oval: Standard and those with Primitive (as shown in the image above).
The Standard Tools
have the two main options for drawing: "Merge Drawing" and "Object Drawing", which can be changed in the options area of the Tools panel, for more details see Merge Drawing and Object Drawing
The shapes drawn with Standard tools have two main elements that can be selected and modified separately or together: the stroke (margin line) and the fill.
Primitive tools ("Primitive Rectangle Tool" and "Oval Primitive Tool") have a single drawing mode, similar with "Object Drawing", but the edge line and Fill are united in a single element, they can't be selected separately.
The Primitive shape tools allow you to specify the corner radius of rectangles, and the start and end angle and the inner radius of ovals using controls in the Properties Panel.
You can draw shapes with no line or no fill by choosing colorless button -> , located in the top-right of the "Stroke Color" and "Fill Color" pannels.
Line and Fill
Rectangle and Oval
The Rectangle tool
creates rectangles with square or rounded corners. The Oval tool
creates circular shapes such as ovals and circles.
Properties, such as size, color, border line, can be modified in the Properties panel.
In the next picture you can find explanations about the properties that can be set.
Properties for Rectangle and Oval
- The settings from "Rectangle Options" and "Oval options" can be defined after the "Rectangle Tool" (or "Oval Tool") was selected, but before to draw the shape.
These options can not be set or changed after the shape was drawn with Standard tools (except the shapes drawn with Primitive, which allows you to set these options after drawing).
You can hold down the Shift key while dragging to produce a perfect square with equal sides or a perfect circle.
- You can set specific sizes with a dialog box. Alt+click after you select "Rectangle tool" (or "Oval tool"), set the values you want, and then click OK.
Polygon - Star (PolyStar)
allows you to easily create complex vector shapes.
You can use this tool to create polygons and stars. Both styles have characteristics that can be defined in the "Properties panel" before you draw the shape.
Both the polygon and star style can have up to 32 sides.
Experiment with several options to get the kind of shape you want.
- Click and hold the "Rectangle tool" on the Tools panel, and then point to PolyStar Tool
- Click Options
in the "Properies panel".
- Click the Style
list arrow, and then select Polygon
- Enter a value for the number of sides (from 3 to 32).
- For the Star style, you can specify an additional option for Star point size
. You can enter a value ranging from 0.1 to 1.0 points.
- Click OK, drag on the Stage, and then release the mouse.
See the example in the image below.
After it has been drawn a polygon, or star, the settings for sides and "Star Point Size" can not longer be changed from the Properties.