# TextBoxBase

class `Markup.Shapes.``TextBoxBase`()

  ## Index

  Methods

  - `getBoxPortion`
  - `getPadding`
  - `getTextPortion`
  - `setPadding`

## Methods

`Markup.Shapes.TextBoxBase.``getBoxPortion`()
  getBoxPortion(): `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: `RectangleBase`

  > the rectangle markup object.

`Markup.Shapes.TextBoxBase.``getPadding`()
  getPadding(): number

  Gets the Pixel distance between the text and outer rectangle

  Returns: number

  > the padding value.

`Markup.Shapes.TextBoxBase.``getTextPortion`()
  getTextPortion(): `TextMarkupBase`

  Gets the Text portion of the TextBox. Use the methods on this object to modify the appearance of the text string

  Returns: `TextMarkupBase`

  > the text markup object

`Markup.Shapes.TextBoxBase.``setPadding`()
  setPadding(padding: number): void

  Sets the Pixel distance between the text and outer rectangle

  Parameters

  > padding: number

  > > the padding value.

  Returns: void

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Web or choose a sample question below to start a conversation:

What is HOOPS Visualize Web?
What are the latest release notes for HOOPS Visualize Web?
How do I start evaluating HOOPS Visualize Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...