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


#############
RectangleBase
#############

.. js:class:: Markup.Shapes.RectangleBase

   This is a base class for rectangular markup objects. It should not be used directly.
   
   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~Markup.Shapes.RectangleBase.constructor`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~Markup.Shapes.RectangleBase.getBorderRadius`
   * :js:meth:`~Markup.Shapes.RectangleBase.getFillColor`
   * :js:meth:`~Markup.Shapes.RectangleBase.getFillOpacity`
   * :js:meth:`~Markup.Shapes.RectangleBase.getStrokeColor`
   * :js:meth:`~Markup.Shapes.RectangleBase.getStrokeWidth`
   * :js:meth:`~Markup.Shapes.RectangleBase.setBorderRadius`
   * :js:meth:`~Markup.Shapes.RectangleBase.setFillColor`
   * :js:meth:`~Markup.Shapes.RectangleBase.setFillOpacity`
   * :js:meth:`~Markup.Shapes.RectangleBase.setStrokeColor`
   * :js:meth:`~Markup.Shapes.RectangleBase.setStrokeWidth`
   
   




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

.. js:method:: Markup.Shapes.RectangleBase.constructor

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





Methods
=======

.. js:method:: Markup.Shapes.RectangleBase.getBorderRadius

   .. rst-class:: sig-pretty-signature
   
      | getBorderRadius(): *number*
   
   Gets the border radius for this shape
   
   **Returns**\ : *number*
   
      the border radius
   
   



.. js:method:: Markup.Shapes.RectangleBase.getFillColor

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



.. js:method:: Markup.Shapes.RectangleBase.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:: Markup.Shapes.RectangleBase.getStrokeColor

   .. rst-class:: clio-flags
   
      :clio-inherited:`inherited`
   
   .. 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.RectangleBase.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:: Markup.Shapes.RectangleBase.setBorderRadius

   .. rst-class:: sig-pretty-signature
   
      | setBorderRadius(**borderRadius**\ : *number*\ ): *void*
   
   Sets the border radius for this shape
   
   **Parameters**
   
      **borderRadius**\ : *number*
   
         the border radius in pixels
   
   
   
   **Returns**\ : *void*
   



.. js:method:: Markup.Shapes.RectangleBase.setFillColor

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



.. js:method:: Markup.Shapes.RectangleBase.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:: Markup.Shapes.RectangleBase.setStrokeColor

   .. rst-class:: clio-flags
   
      :clio-inherited:`inherited`
   
   .. 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.RectangleBase.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*
   





