Struct Underline
Definition
- Namespace:
- Tizen.NUI.Text
- Assembly:
- Tizen.NUI.dll
A struct to pass data of Underline PropertyMap.
C#Copypublic struct Underline : IEquatable<Underline>
- Implements
-
IEquatable<Underline>
Remarks
The Underline struct is used as an argument to SetUnderline and GetUnderline methods.
See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().
Properties
Declaration
C#Copypublic Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
DashGap
The gap between the dashes of the dashed underline (if null, the default value is 1.0f).
Only valid when "UnderlineType.Dashed" type is used.
Declaration
C#Copypublic float? DashGap { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Single> |
DashWidth
The width of the dashes of the dashed underline (if null, the default value is 2.0f).
Only valid when "UnderlineType.Dashed" type is used.
Declaration
C#Copypublic float? DashWidth { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Single> |
Declaration
C#Copypublic bool Enable { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Declaration
C#Copypublic float? Height { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Single> |
Declaration
C#Copypublic UnderlineType Type { get; set; }
Property Value
Type | Description |
---|---|
UnderlineType |
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 Underline, else false. |
Equals(Underline)
Determines whether the specified object is equal to the current object.
Declaration
C#Copypublic bool Equals(Underline other)
Parameters
Type | Name | Description |
---|---|---|
Underline | other | The Underline to compare with the current Underline. |
Returns
Type | Description |
---|---|
Boolean | true if equal Underline, else false. |
Declaration
C#Copypublic override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code. |
Operators
Declaration
C#Copypublic static bool operator ==(Underline lhsUnderline, Underline rhsUnderline)
Parameters
Type | Name | Description |
---|---|---|
Underline | lhsUnderline | Underline to compare |
Underline | rhsUnderline | Underline to be compared |
Returns
Type | Description |
---|---|
Boolean | true if Underlines are equal |
Declaration
C#Copypublic static bool operator !=(Underline lhsUnderline, Underline rhsUnderline)
Parameters
Type | Name | Description |
---|---|---|
Underline | lhsUnderline | Underline to compare |
Underline | rhsUnderline | Underline to be compared |
Returns
Type | Description |
---|---|
Boolean | true if Underlines are not equal |