.. # split from OEGraphemeFunctions.rst:571

.. include:: ../substitutions

.. oe:namespace:: OEGrapheme

.. meta::
   :keywords: OEDrawBrickRoadSurfaceArc

.. oe:function:: OEDrawBrickRoadSurfaceArc

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

      .. oe:api::

         bool OEDrawBrickRoadSurfaceArc(OEDepict::OEImageBase& image,
                                        const OEDepict::OE2DPoint& center,
                                        double bgnAngle, double endAngle,
                                        double radius,
                                        const OEDepict::OEPen& pen,
                                        double edgeAngle = 10.0,
                                        unsigned int patternDirection = OEPatternDirection::Outside,
                                        double patternAngle = 20.0,
                                        double minPatternWidthRatio = 0.15,
                                        double maxPatternWidthRatio = 0.15)

   .. oe:language:: python

      .. oe:api:: python

         OEDrawBrickRoadSurfaceArc(image: OEImageBase, c: OE2DPoint,
                                   bgnAngle: float, endAngle: float,
                                   radius: float, pen: OEPen,
                                   edgeAngle: float = 10.0,
                                   patternDirection: int,
                                   patternAngle: float = 20.0,
                                   minPatternWidthRatio: float = 0.15,
                                   maxPatternWidthRatio: float = 0.15) -> bool

   Draws an arc with the :oe:const:`OEGrapheme::OESurfaceArcStyle::BrickRoad` style.

   .. _figure_draw_surface_arc_brick_road:

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

      **OEDrawBrickRoadSurfaceArc**

   *image*
     |arc_image|

   *center*
     |arc_center|

   *bgnAngle, endAngle*
     |arc_angles|

   *radius*
     |arc_radius|

   *pen*
     |arc_pen|

   *edgeAngle*
     |arc_edgeangle|

     See example (B) in :ref:`Figure: OEDrawBrickRoadSurfaceArc<figure_draw_surface_arc_brick_road>`.

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

     See example (C) in :ref:`Figure: OEDrawBrickRoadSurfaceArc<figure_draw_surface_arc_brick_road>`.

   *patternAngle*
     |arc_pattern_angle|

     See example (D) in :ref:`Figure: OEDrawBrickRoadSurfaceArc<figure_draw_surface_arc_brick_road>`.

   *minPatternWidthRatio, maxPatternWidthRatio*
     |arc_width_ratio|

     See examples (E) and (F) in :ref:`Figure: OEDrawBrickRoadSurfaceArc<figure_draw_surface_arc_brick_road>`.

   .. seealso::

      * :ref:`OEBrickRoadArcFxn <OEGrapheme_OEBrickRoadArcFxn>` class

