LineSegment Class

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

Module: aspose.psd.shapesegments

Full Name: aspose.psd.shapesegments.LineSegment

Inheritance: ShapeSegment

Aspose.PSD Version: 24.9.0

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.