Struct FontInfo

Definition

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

A struct to pass data of FontInfo PropertyMap.

C#
Copy
public struct FontInfo : IEquatable<FontInfo>
Implements
IEquatable<FontInfo>

Properties

View Source

Family

The FontFamily of the font.

Declaration
C#
Copy
public string Family { get; set; }
Property Value
Type Description
String
View Source

Path

The FontPath of the font.

Declaration
C#
Copy
public string Path { get; set; }
Property Value
Type Description
String
View Source

Style

The FontStyle of the font.

Declaration
C#
Copy
public FontStyle Style { get; set; }
Property Value
Type Description
FontStyle

Methods

View Source

Equals(Object)

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

Declaration
C#
Copy
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj

The object to compare with the current object.

Returns
Type Description
Boolean

true if equal FontInfo, else false.

View Source

Equals(FontInfo)

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

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

The FontInfo to compare with the current FontInfo.

Returns
Type Description
Boolean

true if equal FontInfo, else false.

View Source

GetHashCode()

Gets the hash code of this FontInfo.

Declaration
C#
Copy
public override int GetHashCode()
Returns
Type Description
Int32

The hash code.

Operators

View Source

Equality(FontInfo, FontInfo)

The == operator.

Declaration
C#
Copy
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
Boolean

true if FontInfos are equal

View Source

Inequality(FontInfo, FontInfo)

The != operator.

Declaration
C#
Copy
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
Boolean

true if FontInfos are not equal

Implements

IEquatable<>

Extension Methods