[]
Represents a line defined by its starting and ending points.
public struct Line : IEquatable<Line>
Initializes a new instance of the Line struct from the starting and ending points.
public Line(PointF start, PointF end)
start
System.Drawing.PointFend
System.Drawing.PointFThe line's ending point.
public PointF End
The line's starting point.
public PointF Start
public bool Equals(Line other)
other
Linepublic override bool Equals(object obj)
obj
objectpublic override int GetHashCode()
Tests whether two specified Line objects are equivalent.
public static bool operator ==(Line v1, Line v2)
Tests whether two specified Line objects are NOT equivalent.
public static bool operator !=(Line v1, Line v2)