Struct Outline
Definition
- Namespace:
- Tizen.NUI.Text
- Assembly:
- Tizen.NUI.dll
A struct to pass data of Outline PropertyMap.
C#Copypublic struct Outline : IEquatable<Outline>
- Implements
-
IEquatable<Outline>
Remarks
The Outline struct is used as an argument to SetOutline and GetOutline methods.
See SetOutline(Outline), GetOutline(), SetOutline(Outline), GetOutline(), SetOutline(Outline) and GetOutline().
Properties
Declaration
C#Copypublic Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
View Source
Width
The width in pixels of the outline (if null, the default value is 0.0f).
If not provided then the outline is not enabled.
Declaration
C#Copypublic float? Width { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Single> |
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 Outline, else false. |
Declaration
C#Copypublic bool Equals(Outline other)
Parameters
Type | Name | Description |
---|---|---|
Outline | other | The Outline to compare with the current Outline. |
Returns
Type | Description |
---|---|
Boolean | true if equal Outline, else false. |
Declaration
C#Copypublic override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code. |
Operators
Declaration
C#Copypublic static bool operator ==(Outline lhsOutline, Outline rhsOutline)
Parameters
Type | Name | Description |
---|---|---|
Outline | lhsOutline | Outline to compare |
Outline | rhsOutline | Outline to be compared |
Returns
Type | Description |
---|---|
Boolean | true if Outlines are equal |
Declaration
C#Copypublic static bool operator !=(Outline lhsOutline, Outline rhsOutline)
Parameters
Type | Name | Description |
---|---|---|
Outline | lhsOutline | Outline to compare |
Outline | rhsOutline | Outline to be compared |
Returns
Type | Description |
---|---|
Boolean | true if Outlines are not equal |
Implements
IEquatable<>