LineSegment

LineSegment class

Represents a segment leading derectly from a specific point to the next point.

public class LineSegment : ShapeSegment

Constructors

NameDescription
LineSegment(PointF, PointF)Initializes a new instance of the LineSegment class.

Properties

NameDescription
override EndPoint { get; }Gets the ending point.
override StartPoint { get; }Gets the starting point.

Methods

NameDescription
override Equals(object)Check if objects are equal.
override GetHashCode()Get hash code of the current object.

See Also