Search
Line Members
Constructors Properties Methods
 


Represents a line in the plane defined by two points.

The following tables list the members exposed by the Line type.

 Public Constructors

  Name Description

Line

Overloaded. Initializes a new instance of the Line class.

 Public Properties

  Name Description

A

Gets or sets the first point defining the line.

B

Gets or sets the second point defining the line.

Bounds

Gets the smallest rectangle bounding the segment which defines the line.

 Public Methods

  Name Description

ContainsInSegment

Checks whether the particular point lies on the line segment.

IntersectLine

Overloaded. Calculates the intersection point of this line with the specified line.

IntersectSegment

Overloaded. Calculates the intersection point of this line with the specified line segment.

 See Also