.. role:: clio-inherited
   :class: clio-flag clio-flag-inherited


######
Circle
######

.. js:class:: wv.Markup.Shapes.Circle

   This class represents a single circle consisting of a center point and a radius.
   
   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~wv.Markup.Shapes.Circle.constructor`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~wv.Markup.Shapes.Circle.getCenter`
   * :js:meth:`~wv.Markup.Shapes.Circle.getFillColor`
   * :js:meth:`~wv.Markup.Shapes.Circle.getFillOpacity`
   * :js:meth:`~wv.Markup.Shapes.Circle.getRadius`
   * :js:meth:`~wv.Markup.Shapes.Circle.getStrokeColor`
   * :js:meth:`~wv.Markup.Shapes.Circle.getStrokeWidth`
   * :js:meth:`~wv.Markup.Shapes.Circle.set`
   * :js:meth:`~wv.Markup.Shapes.Circle.setCenter`
   * :js:meth:`~wv.Markup.Shapes.Circle.setFillColor`
   * :js:meth:`~wv.Markup.Shapes.Circle.setFillOpacity`
   * :js:meth:`~wv.Markup.Shapes.Circle.setRadius`
   * :js:meth:`~wv.Markup.Shapes.Circle.setStrokeColor`
   * :js:meth:`~wv.Markup.Shapes.Circle.setStrokeWidth`
   
   



.. rst-class:: kind-group kind-constructors

.. rubric:: Constructors
   :class: kind-group-title


.. js:method:: wv.Markup.Shapes.Circle.constructor

      .. rst-class:: sig-pretty-signature
      
         | Circle(): :js:class:`Circle <wv.Markup.Shapes.Circle>`
      
      **Returns**\ : :js:class:`Circle <wv.Markup.Shapes.Circle>`
      



.. rst-class:: kind-group kind-methods

.. rubric:: Methods
   :class: kind-group-title


.. js:method:: wv.Markup.Shapes.Circle.getCenter

      .. rst-class:: sig-pretty-signature
      
         | getCenter(): :js:class:`Point2 <wv.Point2>`
      
      Gets the center of the circle
      
      **Returns**\ : :js:class:`Point2 <wv.Point2>`
      
      
         the circle center
      
      



.. js:method:: wv.Markup.Shapes.Circle.getFillColor

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | getFillColor(): :js:class:`Color <wv.Color>`
      
      Gets the fill color for this shape
      
      **Returns**\ : :js:class:`Color <wv.Color>`
      
      
         the fill color
      
      



.. js:method:: wv.Markup.Shapes.Circle.getFillOpacity

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | getFillOpacity(): *number*
      
      Gets the fill opacity for this shape
      
      **Returns**\ : *number*
      
      
         the fill opacity
      
      



.. js:method:: wv.Markup.Shapes.Circle.getRadius

      .. rst-class:: sig-pretty-signature
      
         | getRadius(): *number*
      
      Gets the radius of the circle
      
      **Returns**\ : *number*
      
      
         the circle radius
      
      



.. js:method:: wv.Markup.Shapes.Circle.getStrokeColor

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | getStrokeColor(): :js:class:`Color <wv.Color>`
      
      Gets the stroke color for this shape
      
      **Returns**\ : :js:class:`Color <wv.Color>`
      
      
         the stroke color
      
      



.. js:method:: wv.Markup.Shapes.Circle.getStrokeWidth

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | getStrokeWidth(): *number*
      
      Gets the stroke width for this shape in pixels
      
      **Returns**\ : *number*
      
      
         the stroke width in pixels
      
      



.. js:method:: wv.Markup.Shapes.Circle.set

      .. rst-class:: sig-pretty-signature
      
         | set(**center**\ : :js:class:`Point2 <wv.Point2>`\ , **radius**\ : *number*\ ): *void*
      
      Sets the values for the circle
      
      **Parameters**
      
      
         **center**\ : :js:class:`Point2 <wv.Point2>`
      
      
            the center point of the circle.
      
      
         **radius**\ : *number*
      
      
            the circle radius.
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.Markup.Shapes.Circle.setCenter

      .. rst-class:: sig-pretty-signature
      
         | setCenter(**center**\ : :js:class:`Point2 <wv.Point2>`\ ): *void*
      
      Sets the center of the circle
      
      **Parameters**
      
      
         **center**\ : :js:class:`Point2 <wv.Point2>`
      
      
            circle center
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.Markup.Shapes.Circle.setFillColor

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | setFillColor(**color**\ : :js:class:`Color <wv.Color>`\ ): *void*
      
      Sets the fill color for this shape
      
      **Parameters**
      
      
         **color**\ : :js:class:`Color <wv.Color>`
      
      
            the fill color
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.Markup.Shapes.Circle.setFillOpacity

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | setFillOpacity(**fillOpacity**\ : *number*\ ): *void*
      
      Sets the fill opacity for this shape
      
      **Parameters**
      
      
         **fillOpacity**\ : *number*
      
      
            the fill opacity
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.Markup.Shapes.Circle.setRadius

      .. rst-class:: sig-pretty-signature
      
         | setRadius(**radius**\ : *number*\ ): *void*
      
      Sets the radius of the circle
      
      **Parameters**
      
      
         **radius**\ : *number*
      
      
            the circle radius
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.Markup.Shapes.Circle.setStrokeColor

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | setStrokeColor(**color**\ : :js:class:`Color <wv.Color>`\ ): *void*
      
      Sets the stroke color for this shape
      
      **Parameters**
      
      
         **color**\ : :js:class:`Color <wv.Color>`
      
      
            the stroke color
      
      
      
      **Returns**\ : *void*
      



.. js:method:: wv.Markup.Shapes.Circle.setStrokeWidth

      .. rst-class:: clio-flags
      
         :clio-inherited:`inherited`
      
      .. rst-class:: sig-pretty-signature
      
         | setStrokeWidth(**strokeWidth**\ : *number*\ ): *void*
      
      Sets the stroke width for this shape in pixels
      
      **Parameters**
      
      
         **strokeWidth**\ : *number*
      
      
            the stroke width in pixels
      
      
      
      **Returns**\ : *void*
      




