Represents a line. More...


Line () 

Constructs a new zerolength line starting at zero. More...



Line (float x1, float y1, float x2, float y2) 

Constructs a new line based on the given coordinates. More...



Line (Point p1, Point p2) 

Constructs a new line based on the given coordinates. More...


virtual IList< Point > 
GetBasePoints () 

Treat base points as the points which are enough to construct a shape. More...


◆ Line() [1/3]
iText.Kernel.Geom.Line.Line 
( 

) 


inline 
Constructs a new zerolength line starting at zero.
◆ Line() [2/3]
iText.Kernel.Geom.Line.Line 
( 
float 
x1, 


float 
y1, 


float 
x2, 


float 
y2 

) 



inline 
Constructs a new line based on the given coordinates.

Parameters

x1 
xcoordinate of start point of this Line 
y1 
ycoordinate of start point of this Line 
x2 
xcoordinate of end point of this Line 
y2 
ycoordinate of end point of this Line 
◆ Line() [3/3]
iText.Kernel.Geom.Line.Line 
( 
Point 
p1, 


Point 
p2 

) 



inline 
Constructs a new line based on the given coordinates.

Parameters

p1 
start point of this Line 
p2 
end point of this Line 
◆ GetBasePoints()
virtual IList<Point> iText.Kernel.Geom.Line.GetBasePoints 
( 

) 


inlinevirtual 
Treat base points as the points which are enough to construct a shape.
Treat base points as the points which are enough to construct a shape. E.g. for a bezier curve they are control points, for a line segment  the start and the end points of the segment.

Returns

Ordered System.Collections.IList consisting of shape's base points.
Implements iText.Kernel.Geom.IShape.