Class TextMapHelper

    Definition

    Namespace:
    Tizen.NUI.BaseComponents
    Assembly:
    Tizen.NUI.dll

    TextMapHelper converts PropertyMap to struct and struct to PropertyMap.

    public static class TextMapHelper
    Inheritance
    object
    TextMapHelper

    Methods

    View Source

    GetEmbossMap(Emboss)

    This method converts a Emboss struct to a PropertyMap and returns it. The returned map can be used for set Emboss PropertyMap in the SetTextEmboss method.

    The Emboss struct value. A PropertyMap for Emboss property.
    Declaration
    public static PropertyMap GetEmbossMap(Emboss emboss)
    Parameters
    Type Name Description
    Emboss emboss
    Returns
    Type Description
    PropertyMap
    View Source

    GetEmbossStruct(PropertyMap)

    This method converts a Emboss map to a struct and returns it. The returned struct can be returned to the user as a Emboss in the GetTextEmboss method.

    The Emboss PropertyMap. A Emboss struct.
    Declaration
    public static Emboss GetEmbossStruct(PropertyMap map)
    Parameters
    Type Name Description
    PropertyMap map
    Returns
    Type Description
    Emboss
    View Source

    GetFileNameMap(string)

    This method converts a fileName string to a PropertyMap and returns it. The returned map can be used for set SelectionHandleImageLeft, SelectionHandleImageRight PropertyMap in the SetSelectionHandleImage method.

    The file path string value for SelectionHandleImage. A PropertyMap for SelectionHandleImageLeft, SelectionHandleImageRight properties.
    Declaration
    public static PropertyMap GetFileNameMap(string fileName)
    Parameters
    Type Name Description
    string fileName
    Returns
    Type Description
    PropertyMap
    View Source

    GetFontSizeString(FontSizeType)

    It returns a string value according to FontSizeType. The returned value can be used for TextFit PropertyMap.

    The FontSizeType enum value. A string value for TextFit.FontSizeType property.
    Declaration
    public static string GetFontSizeString(FontSizeType fontSizeType)
    Parameters
    Type Name Description
    FontSizeType fontSizeType
    Returns
    Type Description
    string
    View Source

    GetFontSizeType(string)

    It returns a FontSizeType value according to fontSizeString. The returned value can be used for FontStyle PropertyMap.

    The FontSizeType string value. A FontSizeType value for TextFit.FontSizeType property.
    Declaration
    public static FontSizeType GetFontSizeType(string fontSizeString)
    Parameters
    Type Name Description
    string fontSizeString
    Returns
    Type Description
    FontSizeType
    View Source

    GetFontSlantString(FontSlantType)

    It returns a string value according to FontSlantType. The returned value can be used for FontStyle PropertyMap.

    The FontSlantType enum value. A string value for FontStyle.Slant property.
    Declaration
    public static string GetFontSlantString(FontSlantType fontSlantType)
    Parameters
    Type Name Description
    FontSlantType fontSlantType
    Returns
    Type Description
    string
    View Source

    GetFontSlantType(string)

    It returns a FontSlantType value according to fontSlantString. The returned value can be used for FontStyle PropertyMap.

    The FontSlant string value. A FontSlantType value for FontStyle.Slant property.
    Declaration
    public static FontSlantType GetFontSlantType(string fontSlantString)
    Parameters
    Type Name Description
    string fontSlantString
    Returns
    Type Description
    FontSlantType
    View Source

    GetFontStyleMap(FontStyle)

    This method converts a FontStyle struct to a PropertyMap and returns it. The returned map can be used for set FontStyle PropertyMap in the SetFontStyle method.

    The FontStyle struct value. A PropertyMap for FontStyle property.
    Declaration
    public static PropertyMap GetFontStyleMap(FontStyle fontStyle)
    Parameters
    Type Name Description
    FontStyle fontStyle
    Returns
    Type Description
    PropertyMap
    View Source

    GetFontStyleStruct(PropertyMap)

    This method converts a FontStyle map to a struct and returns it. The returned struct can be returned to the user as a FontStyle in the GetFontStyle method.

    The FontStyle PropertyMap. A FontStyle struct.
    Declaration
    public static FontStyle GetFontStyleStruct(PropertyMap map)
    Parameters
    Type Name Description
    PropertyMap map
    Returns
    Type Description
    FontStyle
    View Source

    GetFontWeightString(FontWeightType)

    It returns a string value according to FontWeightType. The returned value can be used for FontStyle PropertyMap.

    The FontWeightType enum value. A string value for FontStyle.Weight property.
    Declaration
    public static string GetFontWeightString(FontWeightType fontWeightType)
    Parameters
    Type Name Description
    FontWeightType fontWeightType
    Returns
    Type Description
    string
    View Source

    GetFontWeightType(string)

    It returns a FontWeightType value according to fontWeightString. The returned value can be used for FontStyle PropertyMap.

    The FontWeight string value. A FontWeightType value for FontStyle.Weight property.
    Declaration
    public static FontWeightType GetFontWeightType(string fontWeightString)
    Parameters
    Type Name Description
    string fontWeightString
    Returns
    Type Description
    FontWeightType
    View Source

    GetFontWidthString(FontWidthType)

    It returns a string value according to FontWidthType. The returned value can be used for FontStyle PropertyMap.

    The FontWidthType enum value. A string value for FontStyle.Width property.
    Declaration
    public static string GetFontWidthString(FontWidthType fontWidthType)
    Parameters
    Type Name Description
    FontWidthType fontWidthType
    Returns
    Type Description
    string
    View Source

    GetFontWidthType(string)

    It returns a FontWidthType value according to fontWidthString. The returned value can be used for FontStyle PropertyMap.

    The FontWidth string value. A FontWidthType value for FontStyle.Width property.
    Declaration
    public static FontWidthType GetFontWidthType(string fontWidthString)
    Parameters
    Type Name Description
    string fontWidthString
    Returns
    Type Description
    FontWidthType
    View Source

    GetHiddenInputMap(HiddenInput)

    This method converts a HiddenInput struct to a PropertyMap and returns it. The returned map can be used for set HiddenInputSettings PropertyMap in the SetHiddenInput method.

    The HiddenInput struct value. A PropertyMap for HiddenInput property.
    Declaration
    public static PropertyMap GetHiddenInputMap(HiddenInput hiddenInput)
    Parameters
    Type Name Description
    HiddenInput hiddenInput
    Returns
    Type Description
    PropertyMap
    View Source

    GetHiddenInputStruct(PropertyMap)

    This method converts a HiddenInputSettings map to a struct and returns it. The returned struct can be returned to the user as a HiddenInput in the GetHiddenInput method.

    The HiddenInput PropertyMap. A HiddenInput struct.
    Declaration
    public static HiddenInput GetHiddenInputStruct(PropertyMap map)
    Parameters
    Type Name Description
    PropertyMap map
    Returns
    Type Description
    HiddenInput
    View Source

    GetInputFilterMap(InputFilter)

    This method converts a InputFilter struct to a PropertyMap and returns it.
    The returned map can be used for set InputFilter PropertyMap in the SetInputFilter method.

    The InputFilter struct value. A PropertyMap for InputFilter property.
    Declaration
    public static PropertyMap GetInputFilterMap(InputFilter inputFilter)
    Parameters
    Type Name Description
    InputFilter inputFilter
    Returns
    Type Description
    PropertyMap
    View Source

    GetInputFilterStruct(PropertyMap)

    This method converts a InputFilter map to a struct and returns it.
    The returned struct can be returned to the user as a InputFilter in the GetInputFilter method.

    The InputFilter PropertyMap. A InputFilter struct.
    Declaration
    public static InputFilter GetInputFilterStruct(PropertyMap map)
    Parameters
    Type Name Description
    PropertyMap map
    Returns
    Type Description
    InputFilter
    View Source

    GetOutlineMap(Outline)

    This method converts a Outline struct to a PropertyMap and returns it. The returned map can be used for set Outline PropertyMap in the SetOutline method.

    The Outline struct value. A PropertyMap for Outline property.
    Declaration
    public static PropertyMap GetOutlineMap(Outline outline)
    Parameters
    Type Name Description
    Outline outline
    Returns
    Type Description
    PropertyMap
    View Source

    GetOutlineStruct(PropertyMap)

    This method converts a Outline map to a struct and returns it. The returned struct can be returned to the user as a Outline in the GetOutline method.

    The Outline PropertyMap. A Outline struct.
    Declaration
    public static Outline GetOutlineStruct(PropertyMap map)
    Parameters
    Type Name Description
    PropertyMap map
    Returns
    Type Description
    Outline
    View Source

    GetPlaceholderMap(Placeholder)

    This method converts a Placeholder struct to a PropertyMap and returns it. The returned map can be used for set Placeholder PropertyMap in the SetPlaceholder method.

    The Placeholder struct value. A PropertyMap for Placeholder property.
    Declaration
    public static PropertyMap GetPlaceholderMap(Placeholder placeholder)
    Parameters
    Type Name Description
    Placeholder placeholder
    Returns
    Type Description
    PropertyMap
    View Source

    GetPlaceholderStruct(PropertyMap)

    This method converts a Placeholder map to a struct and returns it. The returned struct can be returned to the user as a Placeholder in the GetPlaceholder method.

    The Placeholder PropertyMap. A Placeholder struct.
    Declaration
    public static Placeholder GetPlaceholderStruct(PropertyMap map)
    Parameters
    Type Name Description
    PropertyMap map
    Returns
    Type Description
    Placeholder
    View Source

    GetSelectionHandleImageStruct(PropertyMap, PropertyMap)

    This method converts a SelectionHandleImageLeft, SelectionHandleImageRight map to a struct and returns it. The returned struct can be returned to the user as a SelectionHandleImage in the GetSelectionHandleImage method.

    The SelectionHandleImageLeft PropertyMap. The SelectionHandleImageRight PropertyMap. A SelectionHandleImage struct.
    Declaration
    public static SelectionHandleImage GetSelectionHandleImageStruct(PropertyMap leftImageMap, PropertyMap rightImageMap)
    Parameters
    Type Name Description
    PropertyMap leftImageMap
    PropertyMap rightImageMap
    Returns
    Type Description
    SelectionHandleImage
    View Source

    GetShadowMap(Shadow)

    This method converts a Shadow struct to a PropertyMap and returns it. The returned map can be used for set Shadow PropertyMap in the SetShadow method.

    The Shadow struct value. A PropertyMap for Shadow property.
    Declaration
    public static PropertyMap GetShadowMap(Shadow shadow)
    Parameters
    Type Name Description
    Shadow shadow
    Returns
    Type Description
    PropertyMap
    View Source

    GetShadowStruct(PropertyMap)

    This method converts a Shadow map to a struct and returns it. The returned struct can be returned to the user as a Shadow in the GetShadow method.

    The Shadow PropertyMap. A Shadow struct.
    Declaration
    public static Shadow GetShadowStruct(PropertyMap map)
    Parameters
    Type Name Description
    PropertyMap map
    Returns
    Type Description
    Shadow
    View Source

    GetStrikethroughMap(Strikethrough)

    This method converts a Strikethrough struct to a PropertyMap and returns it. The returned map can be used for set Strikethrough PropertyMap in the SetStrikethrough method.

    The Strikethrough struct value. A PropertyMap for Strikethrough property.
    Declaration
    public static PropertyMap GetStrikethroughMap(Strikethrough strikethrough)
    Parameters
    Type Name Description
    Strikethrough strikethrough
    Returns
    Type Description
    PropertyMap
    View Source

    GetStrikethroughStruct(PropertyMap)

    This method converts a Strikethrough map to a struct and returns it. The returned struct can be returned to the user as a Strikethrough in the GetUnderline method.

    The Strikethrough PropertyMap. A Strikethrough struct.
    Declaration
    public static Strikethrough GetStrikethroughStruct(PropertyMap map)
    Parameters
    Type Name Description
    PropertyMap map
    Returns
    Type Description
    Strikethrough
    View Source

    GetTextFitMap(TextFit)

    This method converts a TextFit struct to a PropertyMap and returns it. The returned map can be used for set TextFit PropertyMap in the SetTextFit method.

    The TextFit struct value. A PropertyMap for TextFit property.
    Declaration
    public static PropertyMap GetTextFitMap(TextFit textFit)
    Parameters
    Type Name Description
    TextFit textFit
    Returns
    Type Description
    PropertyMap
    View Source

    GetTextFitStruct(PropertyMap)

    This method converts a TextFit map to a struct and returns it. The returned struct can be returned to the user as a TextFit in the GetTextFit method.

    The TextFit PropertyMap. A TextFit struct.
    Declaration
    public static TextFit GetTextFitStruct(PropertyMap map)
    Parameters
    Type Name Description
    PropertyMap map
    Returns
    Type Description
    TextFit
    View Source

    GetUnderlineMap(Underline)

    This method converts a Underline struct to a PropertyMap and returns it. The returned map can be used for set Underline PropertyMap in the SetUnderline method.

    The Underline struct value. A PropertyMap for Underline property.
    Declaration
    public static PropertyMap GetUnderlineMap(Underline underline)
    Parameters
    Type Name Description
    Underline underline
    Returns
    Type Description
    PropertyMap
    View Source

    GetUnderlineStruct(PropertyMap)

    This method converts a Underline map to a struct and returns it. The returned struct can be returned to the user as a Underline in the GetUnderline method.

    The Underline PropertyMap. A Underline struct.
    Declaration
    public static Underline GetUnderlineStruct(PropertyMap map)
    Parameters
    Type Name Description
    PropertyMap map
    Returns
    Type Description
    Underline
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX