GemBox.Presentation
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    LineArrow Struct

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents decorations which can be added to either the head or the tail of a line.

    • C#
    • VB.NET
    public struct LineArrow : IEquatable<LineArrow>
    Public Structure LineArrow
        Implements IEquatable(Of LineArrow)
    Implements
    System.IEquatable<LineArrow>

    Constructors

    LineArrow(LineArrowType, LineArrowSize)

    Initializes a new instance of the LineArrow structure.

    • C#
    • VB.NET
    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.

    • C#
    • VB.NET
    public readonly LineArrowType ArrowType { get; }
    Public ReadOnly Property ArrowType As LineArrowType
    Property Value
    LineArrowType

    The line end decoration.

    Size

    Gets the line end size in relation to the line width.

    • C#
    • VB.NET
    public readonly LineArrowSize Size { get; }
    Public ReadOnly Property Size As LineArrowSize
    Property Value
    LineArrowSize

    The line end size in relation to the line width.

    Methods

    Equals(LineArrow)

    Determines whether the other LineArrow is equal to this LineArrow instance.

    • C#
    • VB.NET
    public bool Equals(LineArrow other)
    Public Function Equals(other As LineArrow) As Boolean
    Parameters
    other
    LineArrow

    The other line arrow to compare with this line arrow instance.

    Returns
    System.Boolean

    true if the other LineArrow is equal to this LineArrow instance; otherwise, false.

    Equals(Object)

    Determines whether the specified System.Object is equal to this LineArrow instance.

    • C#
    • VB.NET
    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

    true if the specified System.Object is a LineArrow and is equal to this LineArrow instance; otherwise, false.

    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Returns a hash code for this LineArrow instance.

    • C#
    • VB.NET
    public override int GetHashCode()
    Public Overrides Function GetHashCode As Integer
    Returns
    System.Int32

    An integer value that specifies a hash value for this LineArrow instance.

    Overrides
    System.ValueType.GetHashCode()

    ToString()

    Returns a System.String that represents this LineArrow instance.

    • C#
    • VB.NET
    public override string ToString()
    Public Overrides Function ToString As String
    Returns
    System.String

    A System.String that represents this LineArrow instance.

    Overrides
    System.ValueType.ToString()
    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.

    • C#
    • VB.NET
    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.

    • C#
    • VB.NET
    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.

    Implements

    System.IEquatable<T>
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.