Struct Shadow

    Definition

    Namespace:
    Tizen.NUI.Text
    Assembly:
    Tizen.NUI.dll

    A struct to pass data of Shadow PropertyMap.

    public struct Shadow : IEquatable<Shadow>
    Implements
    IEquatable<><Shadow>
    Remarks

    The Shadow struct is used as an argument to SetShadow and GetShadow methods.
    See SetShadow(Shadow), GetShadow(), SetShadow(Shadow), GetShadow(), SetShadow(Shadow) and GetShadow().

    Properties

    View Source

    BlurRadius

    The radius of the Gaussian blur for the soft shadow (if null, the default value is 0.0f).
    If not provided then the soft shadow is not enabled.

    Declaration
    public float? BlurRadius { readonly get; set; }
    Property Value
    Type Description
    float?
    Remarks

    The Shadow struct is used as an argument to SetShadow and GetShadow methods.
    See SetShadow(Shadow), GetShadow(), SetShadow(Shadow), GetShadow(), SetShadow(Shadow) and GetShadow().

    View Source

    Color

    The color of the shadow (the default color is Color.Black).

    Declaration
    public Color Color { readonly get; set; }
    Property Value
    Type Description
    Color
    Remarks

    The Shadow struct is used as an argument to SetShadow and GetShadow methods.
    See SetShadow(Shadow), GetShadow(), SetShadow(Shadow), GetShadow(), SetShadow(Shadow) and GetShadow().

    View Source

    Offset

    The offset in pixels of the shadow (if null, the default value is 0, 0).
    If not provided then the shadow is not enabled.

    Declaration
    public Vector2 Offset { readonly get; set; }
    Property Value
    Type Description
    Vector2
    Remarks

    The Shadow struct is used as an argument to SetShadow and GetShadow methods.
    See SetShadow(Shadow), GetShadow(), SetShadow(Shadow), GetShadow(), SetShadow(Shadow) and GetShadow().

    Methods

    View Source

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if equal Shadow, else false.

    Remarks

    The Shadow struct is used as an argument to SetShadow and GetShadow methods.
    See SetShadow(Shadow), GetShadow(), SetShadow(Shadow), GetShadow(), SetShadow(Shadow) and GetShadow().

    View Source

    Equals(Shadow)

    Determines whether the specified object is equal to the current object.

    Declaration
    public bool Equals(Shadow other)
    Parameters
    Type Name Description
    Shadow other

    The Shadow to compare with the current Shadow.

    Returns
    Type Description
    bool

    true if equal Shadow, else false.

    Remarks

    The Shadow struct is used as an argument to SetShadow and GetShadow methods.
    See SetShadow(Shadow), GetShadow(), SetShadow(Shadow), GetShadow(), SetShadow(Shadow) and GetShadow().

    View Source

    GetHashCode()

    Gets the hash code of this Shadow.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    The hash code.

    Remarks

    The Shadow struct is used as an argument to SetShadow and GetShadow methods.
    See SetShadow(Shadow), GetShadow(), SetShadow(Shadow), GetShadow(), SetShadow(Shadow) and GetShadow().

    Operators

    View Source

    operator ==(Shadow, Shadow)

    The == operator.

    Declaration
    public static bool operator ==(Shadow lhsShadow, Shadow rhsShadow)
    Parameters
    Type Name Description
    Shadow lhsShadow

    Shadow to compare

    Shadow rhsShadow

    Shadow to be compared

    Returns
    Type Description
    bool

    true if Shadows are equal

    Remarks

    The Shadow struct is used as an argument to SetShadow and GetShadow methods.
    See SetShadow(Shadow), GetShadow(), SetShadow(Shadow), GetShadow(), SetShadow(Shadow) and GetShadow().

    View Source

    operator !=(Shadow, Shadow)

    The != operator.

    Declaration
    public static bool operator !=(Shadow lhsShadow, Shadow rhsShadow)
    Parameters
    Type Name Description
    Shadow lhsShadow

    Shadow to compare

    Shadow rhsShadow

    Shadow to be compared

    Returns
    Type Description
    bool

    true if Shadows are not equal

    Remarks

    The Shadow struct is used as an argument to SetShadow and GetShadow methods.
    See SetShadow(Shadow), GetShadow(), SetShadow(Shadow), GetShadow(), SetShadow(Shadow) and GetShadow().

    Implements

    IEquatable<>

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX