Add read-only property for getting text line count
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / text-controller.h
index 7562394..e3a7427 100644 (file)
@@ -910,6 +910,13 @@ public: // Queries & retrieves.
   float GetHeightForWidth( float width );
 
   /**
+   * @brief Retrieves the text's number of lines for a given width.
+   * @param[in] width The width of the text's area.
+   * @ return The number of lines.
+   */
+  int GetLineCount( float width );
+
+  /**
    * @brief Retrieves the text's model.
    *
    * @return A pointer to the text's model.