X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-editor-devel.h;h=9aab35f7971b0f230003d67af02f9424f933bded;hp=92c2e591924bdae7c7694eacddb85eaed560b6f6;hb=724bdad5efa09bd7cf199600bb82ae504c5248c2;hpb=e4025736c4d5e85ab7408f9d6932cc7b3e9c9fef diff --git a/dali-toolkit/devel-api/controls/text-controls/text-editor-devel.h b/dali-toolkit/devel-api/controls/text-controls/text-editor-devel.h index 92c2e59..9aab35f 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-editor-devel.h +++ b/dali-toolkit/devel-api/controls/text-controls/text-editor-devel.h @@ -543,6 +543,16 @@ DALI_TOOLKIT_API Vector GetTextSize(TextEditor textEditor, const uint32 DALI_TOOLKIT_API Vector GetTextPosition(TextEditor textEditor, const uint32_t startIndex, const uint32_t endIndex); /** + * @brief Gets the bounding box of a specific text range. + * + * @param[in] textEditor The instance of textEditor. + * @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(TextEditor textEditor, uint32_t startIndex, uint32_t endIndex); + +/** * @brief Copy and return the selected text of TextEditor. * * @param[in] textEditor The instance of TextEditor.