public final class TextAreaItem extends Object
Provides a text area item.
Constructor and Description |
---|
TextAreaItem(Rectangle rectangle,
String text)
Initializes a new instance of the
TextAreaItem class. |
TextAreaItem(Rectangle rectangle,
String text,
TextProperties textProperties)
Initializes a new instance of the
TextAreaItem class. |
TextAreaItem(Rectangle rectangle,
String text,
TextProperties textProperties,
double baseLine)
Initializes a new instance of the
TextAreaItem class. |
Modifier and Type | Method and Description |
---|---|
double |
getBaseLine()
Gets a base line of the row.
|
Rectangle |
getRectangle()
Gets a rectangle of the text area item.
|
String |
getText()
Gets a text of the text area item.
|
TextProperties |
getTextProperties()
Gets a text properties of the text area item.
|
public TextAreaItem(Rectangle rectangle, String text)
Initializes a new instance of the TextAreaItem
class.
rectangle
- A rectangle of the text area item.text
- A text of the text area item.public TextAreaItem(Rectangle rectangle, String text, TextProperties textProperties)
Initializes a new instance of the TextAreaItem
class.
rectangle
- A rectangle of the text area item.text
- A text of the text area item.textProperties
- A text properties of the text area item.public TextAreaItem(Rectangle rectangle, String text, TextProperties textProperties, double baseLine)
Initializes a new instance of the TextAreaItem
class.
rectangle
- A rectangle of the text area item.text
- A text of the text area item.textProperties
- A text properties of the text area item.baseLine
- A base line of the row.public Rectangle getRectangle()
Gets a rectangle of the text area item.
Rectangle
class.public double getBaseLine()
Gets a base line of the row.
public String getText()
Gets a text of the text area item.
public TextProperties getTextProperties()
Gets a text properties of the text area item.
TextProperties
class.Copyright © 2019. All rights reserved.