[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.Line

Struct Line

Namespace
GrapeCity.Documents.Common
Assembly
GcDocs.Imaging.dll

Represents a line defined by its starting and ending points.

public struct Line : IEquatable<Line>
Implements
System.IEquatable<T><Line>
Inherited Members
System.ValueType.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()

Constructors

Line(PointF, PointF)

Initializes a new instance of the Line struct from the starting and ending points.

public Line(PointF start, PointF end)

Parameters

start System.Drawing.PointF
end System.Drawing.PointF

Fields

End

The line's ending point.

public PointF End

Field Value

System.Drawing.PointF

Start

The line's starting point.

public PointF Start

Field Value

System.Drawing.PointF

Methods

Equals(Line)

public bool Equals(Line other)

Parameters

other Line

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(Line, Line)

Tests whether two specified Line objects are equivalent.

public static bool operator ==(Line v1, Line v2)

Parameters

v1 Line
v2 Line

Returns

bool

operator !=(Line, Line)

Tests whether two specified Line objects are NOT equivalent.

public static bool operator !=(Line v1, Line v2)

Parameters

v1 Line
v2 Line

Returns

bool