.. oe:namespace:: OEGrapheme



.. meta::
   :keywords: OEFlowerArcFxn, FlowerArcFxn


.. _OEGrapheme_OEFlowerArcFxn:

.. oe:class:: OEFlowerArcFxn

   .. oe:api::

      class OEFlowerArcFxn : public OESurfaceArcFxnBase

   This class represents :ref:`OEFlowerArcFxn <OEGrapheme_OEFlowerArcFxn>`.
   See example in :ref:`Example of drawing molecule surface using OEFlowerArcFxn<figure_OEFlowerArcFxn>`.

   .. _figure_OEFlowerArcFxn:

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

      **Example of drawing molecule surface using OEFlowerArcFxn**  

   .. seealso::

      * :oe:func:`OEGrapheme::OEDrawFlowerSurfaceArc` function
      * :oe:func:`OEGrapheme::OESetSurfaceArcFxn` function
      * :oe:func:`OEGrapheme::OEDraw2DSurface` function

   The following methods are publicly inherited from :ref:`OESurfaceArcFxnBase <OEGrapheme_OESurfaceArcFxnBase>`:

   ================================================================== ==================================================================
   :oe:meth:`operator()<OEGrapheme::OESurfaceArcFxnBase::operator()>` :oe:meth:`CreateCopy<OEGrapheme::OESurfaceArcFxnBase::CreateCopy>`
   ================================================================== ==================================================================

   .. ################################################################
      #
      ################################################################

   .. oe:method:: Constructors

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

         .. oe:api::

            OEFlowerArcFxn(const OEDepict::OEPen& pen = OEDepict::OEBlackPen)

      .. oe:language:: python

         .. oe:api:: python

            OEFlowerArcFxn(pen: OEPen = OEBlackPen) -> OEFlowerArcFxn

      Default constructor.

      *pen*
         The graphical properties of the arc.


   .. ################################################################
      #
      ################################################################

   .. oe:method:: operator()

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

         .. oe:api::

            bool operator()(OEDepict::OEImageBase& image, const OESurfaceArc& arc) const

      .. oe:language:: python

         .. oe:api:: python

            __call__(image: OEImageBase, arc: OESurfaceArc) -> bool

      Draws a surface arc with the
      :oe:const:`OEGrapheme::OESurfaceArcStyle::Flower` style.

      See example in :ref:`Example of drawing molecule surface using OEFlowerArcFxn<figure_OEFlowerArcFxn>`.

      *image*
         The image on which the surface arc is drawn.

      *arc*
         The object that stores the parameters of the surface arc.

      .. seealso::

         * :ref:`OESurfaceArc <OEGrapheme_OESurfaceArc>` class


   .. ################################################################
      #
      ################################################################

   .. oe:method:: CreateCopy

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

         .. oe:api::

            OESurfaceArcFxnBase* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEFlowerArcFxn

      Deep copy constructor that returns a copy of the object.
      The memory for the returned :ref:`OEFlowerArcFxn <OEGrapheme_OEFlowerArcFxn>`
      object is dynamically allocated and owned by the caller.
