Struct FontStyle
Definition
- Namespace:
- Tizen.NUI.Text
- Assembly:
- Tizen.NUI.dll
A struct to pass data of FontStyle PropertyMap.
C#Copypublic struct FontStyle : IEquatable<FontStyle>
- Implements
-
IEquatable<FontStyle>
Remarks
The FontStyle struct is used as an argument to SetFontStyle and GetFontStyle methods.
See SetFontStyle(FontStyle), GetFontStyle(), SetFontStyle(FontStyle), GetFontStyle(), SetFontStyle(FontStyle) and GetFontStyle().
Properties
Declaration
C#Copypublic FontSlantType Slant { get; set; }
Property Value
Type | Description |
---|---|
FontSlantType |
Declaration
C#Copypublic FontWeightType Weight { get; set; }
Property Value
Type | Description |
---|---|
FontWeightType |
Declaration
C#Copypublic FontWidthType Width { get; set; }
Property Value
Type | Description |
---|---|
FontWidthType |
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 FontStyle, else false. |
View Source
Equals(FontStyle)
Determines whether the specified object is equal to the current object.
Declaration
C#Copypublic bool Equals(FontStyle other)
Parameters
Type | Name | Description |
---|---|---|
FontStyle | other | The FontStyle to compare with the current FontStyle. |
Returns
Type | Description |
---|---|
Boolean | true if equal FontStyle, else false. |
Declaration
C#Copypublic override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code. |
Operators
Declaration
C#Copypublic static bool operator ==(FontStyle lhsFontStyle, FontStyle rhsFontStyle)
Parameters
Type | Name | Description |
---|---|---|
FontStyle | lhsFontStyle | FontStyle to compare |
FontStyle | rhsFontStyle | FontStyle to be compared |
Returns
Type | Description |
---|---|
Boolean | true if FontStyles are equal |
Declaration
C#Copypublic static bool operator !=(FontStyle lhsFontStyle, FontStyle rhsFontStyle)
Parameters
Type | Name | Description |
---|---|---|
FontStyle | lhsFontStyle | FontStyle to compare |
FontStyle | rhsFontStyle | FontStyle to be compared |
Returns
Type | Description |
---|---|
Boolean | true if FontStyles are not equal |
Implements
IEquatable<>