LineArrow Struct
Represents decorations which can be added to either the head or the tail of a line.
public struct LineArrow : IEquatable<LineArrow>
Public Structure LineArrow
Implements IEquatable(Of LineArrow)
Implements
Constructors
LineArrow(LineArrowType, LineArrowSize)
Initializes a new instance of the LineArrow structure.
public LineArrow(LineArrowType arrowType, LineArrowSize size)
Public Sub New(arrowType As LineArrowType, size As LineArrowSize)
Parameters
arrowType
- LineArrowType
Line end decoration.
size
- LineArrowSize
Line end size in relation to the line width.
Properties
ArrowType
Gets the line end decoration.
public readonly LineArrowType ArrowType { get; }
Public ReadOnly Property ArrowType As LineArrowType
Property Value
The line end decoration.
Size
Gets the line end size in relation to the line width.
Property Value
The line end size in relation to the line width.
Methods
Equals(LineArrow)
Parameters
other
- LineArrow
The other line arrow to compare with this line arrow instance.
Returns
Equals(Object)
Determines whether the specified System.Object is equal to this LineArrow instance.
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
obj
- System.Object
The System.Object to compare with this line arrow instance.
Returns
- System.Boolean
Overrides
GetHashCode()
Returns a hash code for this LineArrow instance.
Returns
- System.Int32
An integer value that specifies a hash value for this LineArrow instance.
Overrides
ToString()
Returns a System.String that represents this LineArrow instance.
Returns
- System.String
A System.String that represents this LineArrow instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).
Operators
Equality(LineArrow, LineArrow)
Determines whether first
and second
LineArrows are equal.
public static bool operator ==(LineArrow first, LineArrow second)
Public Shared Operator =(first As LineArrow, second As LineArrow) As Boolean
Parameters
first
- LineArrow
The first line arrow.
second
- LineArrow
The second line arrow.
Returns
- System.Boolean
true if first
and second
line arrows are equal; otherwise, false.
Inequality(LineArrow, LineArrow)
Determines whether first
and second
LineArrows are not equal.
public static bool operator !=(LineArrow first, LineArrow second)
Public Shared Operator <>(first As LineArrow, second As LineArrow) As Boolean
Parameters
first
- LineArrow
The first line arrow.
second
- LineArrow
The second line arrow.
Returns
- System.Boolean
true if first
and second
line arrows are not equal; otherwise, false.