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)
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
Returns
Overrides
GetHashCode()
Returns a hash code for this LineArrow instance.
Returns
Overrides
ToString()
Returns
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 arrrow.
Returns
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
true if first
and second
line arrows are not equal; otherwise, false.