BoundingArea
Structure for the relationship between a bounding rectangle and the contained text.
Public Functions
| BoundingArea() | |
| Initializes a new instance of the BoundingArea class which is invalid by default. | |
| BoundingArea(const Rect & boundingRect, const Unicode::UnicodeChar * containedText) | |
| Initializes a new instance of the BoundingArea class. | |
| Rect | getRect() const |
| Gets bounding rectangle. | |
| bool | isValid(const Unicode::UnicodeChar * currentText) const |
| Query if the bounding area is valid. | |
Public Functions Documentation
BoundingArea
Initializes a new instance of the BoundingArea class which is invalid by default.
BoundingArea
| BoundingArea | ( | const Rect & | boundingRect , | ||
| const Unicode::UnicodeChar * | containedText | ||||
| ) |
Initializes a new instance of the BoundingArea class.
Parameters:
| boundingRect | The bounding rectangle of this text area. |
| containedText | A pointer to the text contained in the bounding rectangle. |
getRect
| Rect getRect | ( | ) | const |
Gets bounding rectangle.
Returns:
The bounding rectangle.
isValid
| bool isValid | ( | const Unicode::UnicodeChar * | currentText | ) | |
Query if the bounding area is valid.
Parameters:
| currentText | A pointer to the current text of this text area. |
Returns:
True if valid otherwise false.