public class Line extends Object implements IShape
Constructor and Description |
---|
Line()
Constructs a new zero-length line starting at zero.
|
Line(float x1, float y1, float x2, float y2)
Constructs a new line based on the given coordinates.
|
Line(Point p1, Point p2)
Constructs a new line based on the given coordinates.
|
Modifier and Type | Method and Description |
---|---|
List<Point> |
getBasePoints()
Treat base points as the points which are enough to construct a shape.
|
public Line()
public Line(float x1, float y1, float x2, float y2)
public List<Point> getBasePoints()
IShape
getBasePoints
in interface IShape
List
consisting of shape's base points.
Copyright © 1998–2017 iText Group NV. All rights reserved.