.. role:: ts-api-decorator

###
Svg
###

.. js:module:: Markup
   :noindex:

.. container:: ts-api-section

   .. js:module:: Markup.Svg




.. toctree::
   :titlesonly:
   :hidden:

   /api_ref/viewing/classes/Markup.Svg.SVGMarkupRenderer

.. container:: api-index-section

   .. rubric:: Classes

   .. rst-class:: api-index-list-item api-kind-class api-parent-kind-namespace

   * :js:class:`~Markup.Svg.SVGMarkupRenderer`



.. container:: api-index-section

   .. rubric:: Variables

   .. rst-class:: api-index-list-item api-kind-variable api-parent-kind-namespace

   * :js:data:`~Markup.Svg.svgNamespace`



.. container:: api-index-section

   .. rubric:: Functions

   .. rst-class:: api-index-list-item api-kind-function api-parent-kind-namespace

   * :js:func:`~Markup.Svg.createCircleMarker`
   * :js:func:`~Markup.Svg.createEndArrowMarker`
   * :js:func:`~Markup.Svg.createStartArrowMarker`
   * :js:func:`~Markup.Svg.svgColorRgbString`
   * :js:func:`~Markup.Svg.svgPointString`





------------

Variables
=========

.. container:: ts-api-section

   .. js:data:: Svg.svgNamespace

      :type: http://www.w3.org/2000/svg





Functions
=========

.. rst-class:: ts-api-section

createCircleMarker
------------------

.. js:function:: createCircleMarker( position, strokeWidth, size, color)

   :param position: None
   :type position: Point2
   :param strokeWidth: None
   :type strokeWidth: number
   :param size: None
   :type size: number
   :param color: None
   :type color: Color


   :rtype: SVGCircleElement

.. rst-class:: ts-api-section

createEndArrowMarker
--------------------

.. js:function:: createEndArrowMarker( size, color)

   :param size: None
   :type size: number
   :param color: None
   :type color: Color


   :rtype: SVGMarkerElement

.. rst-class:: ts-api-section

createStartArrowMarker
----------------------

.. js:function:: createStartArrowMarker( size, color)

   :param size: None
   :type size: number
   :param color: None
   :type color: Color


   :rtype: SVGMarkerElement

.. rst-class:: ts-api-section

svgColorRgbString
-----------------

.. js:function:: svgColorRgbString( color)

   :param color: None
   :type color: Color


   :rtype: string

.. rst-class:: ts-api-section

svgPointString
--------------

.. js:function:: svgPointString( points)

   :param points: None
   :type points: [Point2]


   :rtype: string

