
############
StrokedShape
############

.. js:class:: Markup.Shapes.StrokedShape

   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~Markup.Shapes.StrokedShape.constructor`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~Markup.Shapes.StrokedShape.getStrokeColor`
   * :js:meth:`~Markup.Shapes.StrokedShape.getStrokeWidth`
   * :js:meth:`~Markup.Shapes.StrokedShape.setStrokeColor`
   * :js:meth:`~Markup.Shapes.StrokedShape.setStrokeWidth`
   
   




Constructors
============

.. js:method:: Markup.Shapes.StrokedShape.constructor

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





Methods
=======

.. js:method:: Markup.Shapes.StrokedShape.getStrokeColor

   .. rst-class:: sig-pretty-signature
   
      | getStrokeColor(): :js:class:`~Color`
   
   Gets the stroke color for this shape
   
   **Returns**\ : :js:class:`~Color`
   
      the stroke color
   
   



.. js:method:: Markup.Shapes.StrokedShape.getStrokeWidth

   .. 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:: Markup.Shapes.StrokedShape.setStrokeColor

   .. rst-class:: sig-pretty-signature
   
      | setStrokeColor(**color**\ : :js:class:`~Color`\ ): *void*
   
   Sets the stroke color for this shape
   
   **Parameters**
   
      **color**\ : :js:class:`~Color`
   
         the stroke color
   
   
   
   **Returns**\ : *void*
   



.. js:method:: Markup.Shapes.StrokedShape.setStrokeWidth

   .. 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*
   





