Struct FontInfo
Definition
- Assembly:
- Tizen.NUI.dll
A struct to pass data of FontInfo PropertyMap.
public struct FontInfo : IEquatable<FontInfo>
- Implements
-
IEquatable<><FontInfo>
Properties
View SourceFamily
The FontFamily of the font.
Declaration
public string Family { readonly get; set; }
Property Value
Type | Description |
---|---|
string |
Path
The FontPath of the font.
Declaration
public string Path { readonly get; set; }
Property Value
Type | Description |
---|---|
string |
Style
The FontStyle of the font.
Declaration
public FontStyle Style { readonly get; set; }
Property Value
Type | Description |
---|---|
FontStyle |
Methods
View SourceEquals(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. |
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. |
GetHashCode()
Gets the hash code of this FontInfo.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | The hash code. |
Operators
View Sourceoperator ==(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 |
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<>