[NUI] Add Strikethrough Property (#3844)
authorshrouqsabah <43131063+shrouqsabah@users.noreply.github.com>
Wed, 12 Jan 2022 08:57:40 +0000 (10:57 +0200)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 19 Jan 2022 05:29:33 +0000 (14:29 +0900)
commitb9fcc5b27f4a551e79ba3639a9b08bf736353fb3
treeb9f41cd48985ce7568cbfb143c2570175a910e31
parentdd814ada0d5adbce2210b028bc61d8f25087e1cd
[NUI] Add Strikethrough Property (#3844)

Add Strikethrough Set/Get methods to NUI
Strikethrough is a typographical presentation of words with a horizontal line through their center

The strikethrough map contains the following keys:

    enable (bool): Whether the strikethrough is enabled (the default value is false)
    color (Color): The color of the strikethrough (If not provided then the color of the text is used)
    height (float): The height in pixels of the strikethrough (the default value is 1.f)

Added:

    public void SetStrikethrough(Strikethrough strikethrough) // Method to TextLabel, TextEditor & TextField
    public Strikethrough GetStrikethrough() // Method to TextLabel, TextEditor & TextField

Related patches on DALi:

    Add Strikethrough Property : https://review.tizen.org/gerrit/c/platform/core/uifw/dali-csharp-binder/+/263388
    Extending Style - Adding Strikethrough : https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/258031
16 files changed:
src/Tizen.NUI/src/internal/Interop/Interop.TextEditor.cs
src/Tizen.NUI/src/internal/Interop/Interop.TextField.cs
src/Tizen.NUI/src/internal/Interop/Interop.TextLabel.cs
src/Tizen.NUI/src/public/BaseComponents/Style/TextFieldStyle.cs
src/Tizen.NUI/src/public/BaseComponents/TextConstants.cs
src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextEditorBindableProperty.cs
src/Tizen.NUI/src/public/BaseComponents/TextField.cs
src/Tizen.NUI/src/public/BaseComponents/TextFieldBindableProperty.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabelBindableProperty.cs
src/Tizen.NUI/src/public/BaseComponents/TextMapHelper.cs
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextEditor.cs
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextField.cs
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextLabel.cs
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextMapHelper.cs