.. _arrow: Arrow ===== A straight arrow connecting two points. .. image:: /_static/shapes/arrow.png :alt: Arrow example :align: center .. autoclass:: pptx_shapes.shapes.Arrow **Parameters** - ``x1`` (`float`) – left position of the start point (in centimeters). - ``y1`` (`float`) – top position of the start point (in centimeters). - ``x2`` (`float`) – left position of the end point (in centimeters). - ``y2`` (`float`) – top position of the end point (in centimeters). - ``start_type`` (:ref:`ArrowType `, optional) – arrowhead type at the start point. - ``end_type`` (:ref:`ArrowType `, optional) – arrowhead type at the end point. - ``stroke`` (:ref:`StrokeStyle `, optional) – stroke style. **Example** .. code-block:: python from pptx_shapes.shapes import Arrow from pptx_shapes.style import StrokeStyle Arrow(x1=10, y1=9, x2=14, y2=11, start_type=ArrowType.OVAL, end_type=ArrowType.ARROW, stroke=StrokeStyle(thickness=2)) :ref:`← Back to all shapes `