Struct FontInfo

    Definition

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

    A struct to pass data of FontInfo PropertyMap.

    public struct FontInfo : IEquatable<FontInfo>
    Implements
    IEquatable<><FontInfo>

    Properties

    View Source

    Family

    The FontFamily of the font.

    Declaration
    public string Family { readonly get; set; }
    Property Value
    Type Description
    string
    View Source

    Path

    The FontPath of the font.

    Declaration
    public string Path { readonly get; set; }
    Property Value
    Type Description
    string
    View Source

    Style

    The FontStyle of the font.

    Declaration
    public FontStyle Style { readonly get; set; }
    Property Value
    Type Description
    FontStyle

    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 FontInfo, else false.

    View Source

    Equals(FontInfo)

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

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

    The FontInfo to compare with the current FontInfo.

    Returns
    Type Description
    bool

    true if equal FontInfo, else false.

    View Source

    GetHashCode()

    Gets the hash code of this FontInfo.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    The hash code.

    Operators

    View Source

    operator ==(FontInfo, FontInfo)

    The == operator.

    Declaration
    public static bool operator ==(FontInfo lhsFontInfo, FontInfo rhsFontInfo)
    Parameters
    Type Name Description
    FontInfo lhsFontInfo

    FontInfo to compare

    FontInfo rhsFontInfo

    FontInfo to be compared

    Returns
    Type Description
    bool

    true if FontInfos are equal

    View Source

    operator !=(FontInfo, FontInfo)

    The != operator.

    Declaration
    public static bool operator !=(FontInfo lhsFontInfo, FontInfo rhsFontInfo)
    Parameters
    Type Name Description
    FontInfo lhsFontInfo

    FontInfo to compare

    FontInfo rhsFontInfo

    FontInfo to be compared

    Returns
    Type Description
    bool

    true if FontInfos are not equal

    Implements

    IEquatable<>

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    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