
###########
TextBoxBase
###########

.. js:class:: wv.Markup.Shapes.TextBoxBase

   
   Index
   =====
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~wv.Markup.Shapes.TextBoxBase.getBoxPortion`
   * :js:meth:`~wv.Markup.Shapes.TextBoxBase.getPadding`
   * :js:meth:`~wv.Markup.Shapes.TextBoxBase.getTextPortion`
   * :js:meth:`~wv.Markup.Shapes.TextBoxBase.setPadding`
   
   



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

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


.. js:method:: wv.Markup.Shapes.TextBoxBase.getBoxPortion

      .. rst-class:: sig-pretty-signature
      
         | getBoxPortion(): :js:class:`RectangleBase <wv.Markup.Shapes.RectangleBase>`
      
      Gets the Box portion of the TextBox. Use the methods on this object to modify the appearance of the rectangle around the text string
      
      **Returns**\ : :js:class:`RectangleBase <wv.Markup.Shapes.RectangleBase>`
      
      
         the rectangle markup object.
      
      



.. js:method:: wv.Markup.Shapes.TextBoxBase.getPadding

      .. rst-class:: sig-pretty-signature
      
         | getPadding(): *number*
      
      Gets the Pixel distance between the text and outer rectangle
      
      **Returns**\ : *number*
      
      
         the padding value.
      
      



.. js:method:: wv.Markup.Shapes.TextBoxBase.getTextPortion

      .. rst-class:: sig-pretty-signature
      
         | getTextPortion(): :js:class:`TextMarkupBase <wv.Markup.Shapes.TextMarkupBase>`
      
      Gets the Text portion of the TextBox. Use the methods on this object to modify the appearance of the text string
      
      **Returns**\ : :js:class:`TextMarkupBase <wv.Markup.Shapes.TextMarkupBase>`
      
      
         the text markup object
      
      



.. js:method:: wv.Markup.Shapes.TextBoxBase.setPadding

      .. rst-class:: sig-pretty-signature
      
         | setPadding(**padding**\ : *number*\ ): *void*
      
      Sets the Pixel distance between the text and outer rectangle
      
      **Parameters**
      
      
         **padding**\ : *number*
      
      
            the padding value.
      
      
      
      **Returns**\ : *void*
      




