.. role:: ts-api-decorator

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

.. js:module:: Markup.Shapes
   :noindex:

.. container:: ts-api-section

   .. js:class:: StrokedShape



.. container:: api-index-section

   .. rubric:: Constructors

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

   * :js:meth:`~Markup.Shapes.StrokedShape.constructor`



.. container:: api-index-section

   .. rubric:: Methods

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

   * :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
============

.. container:: ts-api-section

   .. js:function:: StrokedShape.constructor()



      :rtype: StrokedShape



Methods
=======

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

getStrokeColor
--------------

.. js:method:: StrokedShape.getStrokeColor()



   Gets the stroke color for this shape

   :returns: the stroke color


   :rtype: Color

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

getStrokeWidth
--------------

.. js:method:: StrokedShape.getStrokeWidth()



   Gets the stroke width for this shape in pixels

   :returns: the stroke width in pixels


   :rtype: number

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

setStrokeColor
--------------

.. js:method:: StrokedShape.setStrokeColor( color)

   :param color: the stroke color
   :type color: Color


   Sets the stroke color for this shape


   :rtype: void

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

setStrokeWidth
--------------

.. js:method:: StrokedShape.setStrokeWidth( strokeWidth)

   :param strokeWidth: the stroke width in pixels
   :type strokeWidth: number


   Sets the stroke width for this shape in pixels


   :rtype: void

