.. oe:namespace:: OEDepict

.. oe:constnamespace:: OELineCap

   This namespace contains constants that control how the endpoints 
   of lines are drawn. 

   .. seealso::

      * :oe:meth:`OEDepict::OEPen::GetLineCap` method
      * :oe:meth:`OEDepict::OEPen::SetLineCap` method

   The :oe:constns:`OEDepict::OELineCap` namespace contains the 
   following constants:

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

   .. oe:constant:: Default

      The default line cap style is
      :oe:const:`OEDepict::OELineCap::Round`.


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

   .. oe:constant:: Butt

      Closes the line off with a straight edge that's normal (at 90
      degrees to) the direction of the stroke and crosses its end.
      See example in :ref:`Figure: Example of line drawing with 'Butt' line cap style<figure_OELineCap_Butt>`.

      .. _figure_OELineCap_Butt:

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

         **Example of line drawing with 'Butt' line cap style**


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

   .. oe:constant:: Round

      Produces a rounded effect on the end of the line.
      See example in :ref:`Figure: Example of line drawing with 'Round' line cap style<figure_OELineCap_Round>`.

      .. _figure_OELineCap_Round:

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

         **Example of line drawing with 'Round' line cap style**


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

   .. oe:constant:: Square

      Has the same appearance as the :oe:const:`OEDepict::OELineCap::Butt` 
      style, but stretches the line slightly beyond the actual path.
      See example in :ref:`Figure: Example of line drawing with 'Square' line cap style<figure_OELineCap_Square>`.

      .. _figure_OELineCap_Square:

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

         **Example of line drawing with 'Square' line cap style**
