LineSegment Class

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

Module: aspose.imaging.shapesegments

Full Name: aspose.imaging.shapesegments.LineSegment

Inheritance: ShapeSegment

Constructors

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

Properties

NameTypeAccessDescription
end_pointPointFrGets the ending point.
start_pointPointFrGets the starting point.

Constructor: LineSegment(start_point, end_point)

 LineSegment(start_point, end_point) 

Initializes a new instance of the LineSegment class.

Parameters:

ParameterTypeDescription
start_pointPointFThe start point.
end_pointPointFThe end point.