.. _example_edges_plot_shapes.py:


======
Shapes
======

This example shows how to draw several different shapes:

- line
- Bezier curve
- polygon
- circle
- ellipse

Anti-aliased drawing for:

- line
- circle


.. image:: images/plot_shapes_1.png
    :align: center


.. literalinclude:: plot_shapes.py
    :lines: 20-



**Python source code:** :download:`download <plot_shapes.py>`
(generated using ``skimage`` |version|)



**IPython Notebook:** :download:`download <./notebook/plot_shapes.ipynb>`
(generated using ``skimage`` |version|)

