|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.text.pdf.parser.Line
public class Line
Represents a line.
Constructor Summary | |
---|---|
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(Point2D p1,
Point2D p2)
Constructs a new line based on the given coordinates. |
Method Summary | |
---|---|
List<Point2D> |
getBasePoints()
Treat base points as the points which are enough to construct a shape. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Line()
public Line(float x1, float y1, float x2, float y2)
public Line(Point2D p1, Point2D p2)
Method Detail |
---|
public List<Point2D> getBasePoints()
Shape
getBasePoints
in interface Shape
List
consisting of shape's base points.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |