Package | Description |
---|---|
com.itextpdf.awt.geom | |
com.itextpdf.text.pdf.parser |
Modifier and Type | Class and Description |
---|---|
class |
Point |
static class |
Point2D.Double |
static class |
Point2D.Float |
Modifier and Type | Method and Description |
---|---|
Point2D |
AffineTransform.deltaTransform(Point2D src, Point2D dst) |
abstract Point2D |
CubicCurve2D.getCtrlP1() |
Point2D |
CubicCurve2D.Float.getCtrlP1() |
Point2D |
CubicCurve2D.Double.getCtrlP1() |
abstract Point2D |
CubicCurve2D.getCtrlP2() |
Point2D |
CubicCurve2D.Float.getCtrlP2() |
Point2D |
CubicCurve2D.Double.getCtrlP2() |
abstract Point2D |
QuadCurve2D.getCtrlPt() |
Point2D |
QuadCurve2D.Float.getCtrlPt() |
Point2D |
QuadCurve2D.Double.getCtrlPt() |
Point2D |
GeneralPath.getCurrentPoint() |
abstract Point2D |
QuadCurve2D.getP1() |
Point2D |
QuadCurve2D.Float.getP1() |
Point2D |
QuadCurve2D.Double.getP1() |
abstract Point2D |
Line2D.getP1() |
Point2D |
Line2D.Float.getP1() |
Point2D |
Line2D.Double.getP1() |
abstract Point2D |
CubicCurve2D.getP1() |
Point2D |
CubicCurve2D.Float.getP1() |
Point2D |
CubicCurve2D.Double.getP1() |
abstract Point2D |
QuadCurve2D.getP2() |
Point2D |
QuadCurve2D.Float.getP2() |
Point2D |
QuadCurve2D.Double.getP2() |
abstract Point2D |
Line2D.getP2() |
Point2D |
Line2D.Float.getP2() |
Point2D |
Line2D.Double.getP2() |
abstract Point2D |
CubicCurve2D.getP2() |
Point2D |
CubicCurve2D.Float.getP2() |
Point2D |
CubicCurve2D.Double.getP2() |
Point2D |
AffineTransform.inverseTransform(Point2D src, Point2D dst) |
Point2D |
AffineTransform.transform(Point2D src, Point2D dst) |
Modifier and Type | Method and Description |
---|---|
void |
Rectangle2D.add(Point2D p) |
boolean |
Shape.contains(Point2D point) |
boolean |
RectangularShape.contains(Point2D point) |
boolean |
QuadCurve2D.contains(Point2D p) |
boolean |
Line2D.contains(Point2D p) |
boolean |
GeneralPath.contains(Point2D p) |
boolean |
CubicCurve2D.contains(Point2D p) |
Point2D |
AffineTransform.deltaTransform(Point2D src, Point2D dst) |
double |
Point2D.distance(Point2D p) |
double |
Point2D.distanceSq(Point2D p) |
Point2D |
AffineTransform.inverseTransform(Point2D src, Point2D dst) |
int |
Rectangle2D.outcode(Point2D p) |
double |
Line2D.ptLineDist(Point2D p) |
double |
Line2D.ptLineDistSq(Point2D p) |
double |
Line2D.ptSegDist(Point2D p) |
double |
Line2D.ptSegDistSq(Point2D p) |
int |
Line2D.relativeCCW(Point2D p) |
void |
QuadCurve2D.setCurve(Point2D[] points, int offset) |
void |
CubicCurve2D.setCurve(Point2D[] points, int offset) |
void |
QuadCurve2D.setCurve(Point2D p1, Point2D cp, Point2D p2) |
void |
CubicCurve2D.setCurve(Point2D p1, Point2D cp1, Point2D cp2, Point2D p2) |
void |
RectangularShape.setFrame(Point2D loc, Dimension2D size) |
void |
RectangularShape.setFrameFromCenter(Point2D center, Point2D corner) |
void |
RectangularShape.setFrameFromDiagonal(Point2D p1, Point2D p2) |
void |
Line2D.setLine(Point2D p1, Point2D p2) |
void |
Point2D.setLocation(Point2D p) |
void |
AffineTransform.transform(Point2D[] src, int srcOff, Point2D[] dst, int dstOff, int length) |
void |
AffineTransform.transform(Point2D[] src, int srcOff, Point2D[] dst, int dstOff, int length) |
Point2D |
AffineTransform.transform(Point2D src, Point2D dst) |
Constructor and Description |
---|
Double(Point2D p1, Point2D p2) |
Float(Point2D p1, Point2D p2) |
Modifier and Type | Method and Description |
---|---|
Point2D |
Path.getCurrentPoint()
The current point is the trailing endpoint of the segment most recently added to the current path.
|
Point2D |
Subpath.getLastPoint() |
Point2D |
Subpath.getStartPoint() |
Modifier and Type | Method and Description |
---|---|
List<Point2D> |
Shape.getBasePoints()
Treat base points as the points which are enough to construct a shape.
|
List<Point2D> |
Line.getBasePoints() |
List<Point2D> |
BezierCurve.getBasePoints()
Treat base points as the points which are enough to construct a shape.
|
List<Point2D> |
Subpath.getPiecewiseLinearApproximation() |
List<Point2D> |
BezierCurve.getPiecewiseLinearApproximation()
You can adjust precision of the approximation by varying the following parameters: BezierCurve.curveCollinearityEpsilon , BezierCurve.distanceToleranceSquare , BezierCurve.distanceToleranceManhattan
|
Modifier and Type | Method and Description |
---|---|
void |
Subpath.setStartPoint(Point2D startPoint)
Sets the start point of the subpath.
|
Constructor and Description |
---|
Line(Point2D p1, Point2D p2)
Constructs a new line based on the given coordinates.
|
Subpath(Point2D startPoint)
Constructs a new subpath starting at the given point.
|
Constructor and Description |
---|
BezierCurve(List<Point2D> controlPoints)
Constructs new bezier curve.
|
Copyright © 1998–2016. All rights reserved.