X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fcontroller%2Ftext-controller.h;h=b8ff325264a6ad0e9ee15dfa213ee3078c772941;hb=HEAD;hp=03643353fc628b1c7c15360362e3c852f70d9a6f;hpb=3dd8cfe76a2684d18b11c06609893894cb6dd735;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/controller/text-controller.h b/dali-toolkit/internal/text/controller/text-controller.h index 0364335..20ad0f0 100644 --- a/dali-toolkit/internal/text/controller/text-controller.h +++ b/dali-toolkit/internal/text/controller/text-controller.h @@ -1280,6 +1280,20 @@ public: // Default style & Input style float GetDashedUnderlineGap() const; /** + * @brief Set the outline offset. + * + * @param[in] outlineOffset The outline offset. + */ + void SetOutlineOffset(const Vector2& outlineOffset); + + /** + * @brief Retrieve the outline offset. + * + * @return The outline offset. + */ + const Vector2& GetOutlineOffset() const; + + /** * @brief Set the outline color. * * @param[in] color color of outline. @@ -1308,6 +1322,20 @@ public: // Default style & Input style uint16_t GetOutlineWidth() const; /** + * @brief Set the outline blur radius. + * + * @param[in] outlineBlurRadius The outline blur radius, 0,0 indicates no blur. + */ + void SetOutlineBlurRadius(const float& outlineBlurRadius); + + /** + * @brief Retrieve the outline blur radius. + * + * @return The outline blur radius. + */ + const float& GetOutlineBlurRadius() const; + + /** * @brief Set the background color. * * @param[in] color color of background. @@ -1504,8 +1532,9 @@ public: // Default style & Input style * @brief Sets the input font's point size. * * @param[in] size The input font's point size. + * @param[in] defaultFontSizeUpdated True If the default font size is updated and sets the input point size, false otherwise. */ - void SetInputFontPointSize(float size); + void SetInputFontPointSize(float size, bool defaultFontSizeUpdated = false); /** * @brief Retrieves the input font's point size. @@ -1647,6 +1676,34 @@ public: // Default style & Input style */ void SetVisualTransformOffset(Vector2 offset); + /** + * @brief Sets whether background color with cutout is enabled. + * + * @param[in] enable True if enabled. + */ + void SetBackgroundWithCutoutEnabled(bool enable); + + /** + * @brief Whether background color with cutout is enabled. + * + * @return True if enabled. + */ + bool IsBackgroundWithCutoutEnabled() const; + + /** + * @brief Sets whether background color with cutout. + * + * @param[in] color The color to set. + */ + void SetBackgroundColorWithCutout(const Vector4& color); + + /** + * @brief Retrieves background color with cutout. + * + * @return The color. + */ + const Vector4 GetBackgroundColorWithCutout() const; + public: // Queries & retrieves. /** * @brief Return the layout engine. @@ -1799,6 +1856,42 @@ public: // Queries & retrieves. void SetIgnoreSpacesAfterText(bool ignore); /** + * @brief Retrieves removeFrontInset value from model + * @return The value of removeFrontInset + */ + bool IsRemoveFrontInset() const; + + /** + * @brief Sets removeFrontInset value to model + * @param[in] remove The value of removeFrontInset for the text + */ + void SetRemoveFrontInset(bool remove); + + /** + * @brief Retrieves removeBackInset value from model + * @return The value of removeBackInset + */ + bool IsRemoveBackInset() const; + + /** + * @brief Sets removeBackInset value to model + * @param[in] remove The value of removeBackInset for the text + */ + void SetRemoveBackInset(bool remove); + + /** + * @brief Retrieves cutout value to model + * @return The value of cutout for the text + */ + bool IsTextCutout() const; + + /** + * @brief Sets cutout value to model + * @param[in] cutout The value of cutout for the text + */ + void SetTextCutout(bool cutout); + + /** * @brief Sets SetMatchLayoutDirection value to model * @param[in] match The value of matchLayoutDirection for the text */