Applies ToVisio 2. plāns Visio programmā Microsoft 365 Visio 1. plāns Visio Professional 2024 Visio Standard 2024 Visio Professional 2021 Visio Standard 2021 Visio Professional 2019 Visio Standard 2019 Visio Professional 2016 Visio Standard 2016

You can draw shapes to the exact size you want by using the Draw Shape tool in Visio. 

You can create your own custom shapes by using the rectangle, ellipse, arc, freeform, and pencil shapes in Visio.

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.

If you want to be able to apply fill colors to your new shape, you need to create a closed shape. If you use the Rectangle tool or the Ellipse tool, you get closed shapes automatically. By default, closed shapes are filled with a solid color.

A closed rectangle and an open triangle

In this example, the rectangle is a closed shape because it is filled with a solid color. You can tell that the triangle is not closed because it is not filled with a solid color and you can see the drawing background through the shape.

What do you want to do?

Draw a rectangle or circle

  1. On the Home tab, in the Tools group, click the arrow next to Rectangle The Rectangle tool, and then do one of the following:

    • To draw a rectangle, select the Rectangle tool.

    • To draw a circle or oval, select the Ellipse tool.

  2. Drag to draw the shape on the drawing page.

  3. To return to regular editing, in the Tools group, click the Pointer Pointer button tool.

Top of Page

Draw a custom shape

  1. On the Home tab, in the Tools group, click the arrow next to Rectangle The Rectangle tool, and then do one of the following:

    • To draw a straight line, select the Line tool.

    • To draw an irregular shape, select the Freeform tool.

    • To draw a curved line, select the Arc tool.

  2. To draw the first segment, point to where you want to start the shape, and then drag until the segment is the size that you want.

    • After you draw the segment, the shape displays vertices A shape vertex.

  3. To draw the second segment, point to the vertex of the first segment, and then drag.

  4. To draw additional segments, point to the vertex at the end of the last segment that you added, and then drag to draw the next segment.

    Note: To undo a segment, press Ctrl+Z. Segments are deleted in the reverse order in which they were drawn.

  5. To close the shape, drag the endpoint of the last segment that you create over the vertex at the beginning of the first segment. The shape becomes opaque, which indicates that it is a closed shape.

  6. To return to regular editing, on the Home tab, in the Tools group, click the Pointer tool Pointer button.

Top of Page

Edit a shape

You can edit most shapes in Visio by adding, deleting, and reshaping segments in the shape.

Delete a segment from a shape

  1. On the Home tab, in the Tools group, click the arrow next to Rectangle The Rectangle tool, and then click the Pencil tool The Pencil tool.

  2. Select the shape that you want to delete a segment from, click the vertex A shape vertex that you want to delete, and then press DELETE.

Add a segment to a shape

  1. On the Home tab, in the Tools group, click the arrow next to Rectangle The Rectangle tool, and then click the Pencil tool The Pencil tool.

  2. Select the shape the shape that you want to add a segment to, point to where you want to add the segment, and hold down the Ctrl key and then click.

    A new vertex appears where you clicked the shape, creating a new segment.

Reshape a shape

  1. On the Home tab, in the Tools group, click the arrow next to Rectangle The Rectangle tool, and then click the Pencil tool The Pencil tool.

  2. Select the shape, click the vertex A shape vertex that you want to move, and then drag the vertex to a new position.

Top of Page

Create a new master shape

You can reuse your custom shape in other drawings by making it a master shape. To turn a custom shape into a master shape, do the following?

  1. In the Shapes pane, click More Shapes, and then select a custom stencil or create a new custom stencil by selecting New Stencil (US units) or New Stencil (Metric).

  2. On the drawing page, select your custom shape and drag it into the new stencil in the Shapes pane.

  3. To rename your new master shape, right-click the shape, select Rename Master, and then type a name for the new master shape.

  4. In the Shapes pane, on the custom stencil, click Save to save the changes to the custom stencil with the new master shape.

For more information about how to create a new master shape, see Create a shape or Edit a master shape.

Top of Page

You can draw custom-sized shapes directly on the canvas by using the rectangle, square, line, circle, and ellipse options on the Draw Shape menu on the Insert (or Home) tab of the toolbar ribbon: 

The Draw Shapes options are on the Insert tab in Visio for the web.

  1. With a drawing open in Visio for the web, select the Insert tab of the ribbon.

  2. Select Draw Shape, then select the shape you want to draw.

    The Draw Shapes menu has five options to choose from.

  3. On the canvas, click and drag to draw the shape.

    The shape is drawn at that position in the size your specify. 

  4. Continue to modify the shape as needed. You can change the color, add text to it, and so on. 

See Also

Add text to a shape

Format a shape

Nepieciešama papildu palīdzība?

Vēlaties vairāk opciju?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.