.. # split from OEGraphemeFunctions.rst:515

.. include:: ../substitutions

.. oe:namespace:: OEGrapheme

.. meta::
   :keywords: OEDrawBrickRoadCircle

.. oe:function:: OEDrawBrickRoadCircle

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

      .. oe:api::

         bool OEDrawBrickRoadCircle(OEDepict::OEImageBase& image,
                                    const OEDepict::OE2DPoint& center,
                                    double radius, const OEDepict::OEPen& pen,
                                    unsigned int patternDirection = OEPatternDirection::Outside,
                                    double patternAngle = 20.0,
                                    double patternWidthRatio = 0.15)

   .. oe:language:: python

      .. oe:api:: python

         OEDrawBrickRoadCircle(image: OEImageBase, c: OE2DPoint, radius: float,
                               pen: OEPen, patternDirection: int,
                               patternAngle: float = 20.0,
                               patternWidthRatio: float = 0.15) -> bool

   Draws a circle with the :oe:const:`OEGrapheme::OECircleStyle::BrickRoad` style.
   See :ref:`Figure: OEDrawBrickRoadCircle<figure_draw_circle_brick_road>`.

   .. _figure_draw_circle_brick_road:

   .. figure:: ../images/OEDrawBrickRoadCircle.*
      :align:  center

      **OEDrawBrickRoadCircle**

   *image*
     |circle_image|

   *center*
     |circle_center|

   *radius*
     |circle_radius|

   *pen*
     |circle_pen|

     See examples (A) and (B) in :ref:`Figure: OEDrawBrickRoadCircle<figure_draw_circle_brick_road>`.

   *patternDirection*
     |circle_pattern_dir|
     This value has to be from the :oe:constns:`OEGrapheme::OEPatternDirection` namespace.

     See example (C) in :ref:`Figure: OEDrawBrickRoadCircle<figure_draw_circle_brick_road>`.

   *patternAngle*
     |circle_pattern_angle|

     See example (D) in :ref:`Figure: OEDrawBrickRoadCircle<figure_draw_circle_brick_road>`.

   *patternWidthRatio*
     |circle_width_ratio|

     See example (E) in :ref:`Figure: OEDrawBrickRoadCircle<figure_draw_circle_brick_road>`.

