.. # split from OEGraphemeFunctions.rst:745

.. include:: ../substitutions

.. oe:namespace:: OEGrapheme

.. meta::
   :keywords: OEDrawCircle

.. oe:function:: OEDrawCircle

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OEDrawCircle(OEDepict::OEImageBase& image, unsigned int style,
                           const OEDepict::OE2DPoint& center, double radius,
                           const OEDepict::OEPen& pen = OEDepict::OEBlackPen)

   .. oe:language:: python

      .. oe:api:: python

         OEDrawCircle(image: OEImageBase, style: int, c: OE2DPoint,
                      radius: float, pen: OEPen = OEBlackPen) -> bool

   Draws a circle with the given style.

   *image*
     The image on which the circle is drawn.

   *style*
     Specifies the style of the circle.
     This value has to be from the :oe:constns:`OEGrapheme::OECircleStyle` namespace.

   *center*
     The center of the circle.

   *radius*
     The radius of the circle.

   *pen*
     The graphical properties of the circle.


