Struct Outline

Definition

Namespace:
Tizen.NUI.Text
Assembly:
Tizen.NUI.dll

A struct to pass data of Outline PropertyMap.

C#
Copy
public 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

View Source

Color

The color of the outline (the default color is Color.White).

Declaration
C#
Copy
public 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#
Copy
public float? Width { get; set; }
Property Value
Type Description
Nullable<Single>

Methods

View Source

Equals(Object)

Determines whether the specified object is equal to the current object.

Declaration
C#
Copy
public 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.

View Source

Equals(Outline)

Determines whether the specified object is equal to the current object.

Declaration
C#
Copy
public 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.

View Source

GetHashCode()

Gets the hash code of this Outline.

Declaration
C#
Copy
public override int GetHashCode()
Returns
Type Description
Int32

The hash code.

Operators

View Source

Equality(Outline, Outline)

The == operator.

Declaration
C#
Copy
public 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

View Source

Inequality(Outline, Outline)

The != operator.

Declaration
C#
Copy
public 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<>

Extension Methods