Struct FontInfo
Definition
- Namespace:
- Tizen.NUI.Text
- Assembly:
- Tizen.NUI.dll
A struct to pass data of FontInfo PropertyMap.
C#Copypublic struct FontInfo : IEquatable<FontInfo>
- Implements
-
IEquatable<FontInfo>
Properties
Declaration
C#Copypublic string Family { get; set; }
Property Value
Type | Description |
---|---|
String |
Declaration
C#Copypublic string Path { get; set; }
Property Value
Type | Description |
---|---|
String |
Declaration
C#Copypublic FontStyle Style { get; set; }
Property Value
Type | Description |
---|---|
FontStyle |
Methods
Declaration
C#Copypublic 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#Copypublic 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. |
Declaration
C#Copypublic override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code. |
Operators
Declaration
C#Copypublic 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 |
Declaration
C#Copypublic 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<>