X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-field-devel.h;h=a06181997458e47993f4d190d24ef3ccba187ba9;hb=acfb5074bd70ca8484f429086857e3153f01466a;hp=c81210a58db27deb5112dc9852ea78753d53579e;hpb=6ae6cb59fdc507c422db80110606c4125c19466b;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/text-controls/text-field-devel.h b/dali-toolkit/devel-api/controls/text-controls/text-field-devel.h index c81210a..a061819 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-field-devel.h +++ b/dali-toolkit/devel-api/controls/text-controls/text-field-devel.h @@ -413,6 +413,16 @@ DALI_TOOLKIT_API Vector GetTextSize(TextField textField, const uint32_t DALI_TOOLKIT_API Vector GetTextPosition(TextField textField, const uint32_t startIndex, const uint32_t endIndex); /** + * @brief Gets the bounding box of a specific text range. + * + * @param[in] textField The instance of textField. + * @param[in] startIndex start index of the text requested to get bounding box to. + * @param[in] endIndex end index(included) of the text requested to get bounding box to. + * @return bounding box of the requested text. + */ +DALI_TOOLKIT_API Rect<> GetTextBoundingRectangle(TextField textField, uint32_t startIndex, uint32_t endIndex); + +/** * @brief Select the whole text of TextField. * * @param[in] textField The instance of TextField.