Uses of Class
com.itextpdf.awt.geom.Point2D
-
Packages that use Point2D Package Description com.itextpdf.awt.geom com.itextpdf.text.pdf.parser com.itextpdf.text.pdf.pdfcleanup -
-
Uses of Point2D in com.itextpdf.awt.geom
Subclasses of Point2D in com.itextpdf.awt.geom Modifier and Type Class Description class
Point
static class
Point2D.Double
static class
Point2D.Float
Methods in com.itextpdf.awt.geom that return Point2D Modifier and Type Method Description Point2D
AffineTransform. deltaTransform(Point2D src, Point2D dst)
Point2D
CubicCurve2D.Double. getCtrlP1()
Point2D
CubicCurve2D.Float. getCtrlP1()
abstract Point2D
CubicCurve2D. getCtrlP1()
Point2D
CubicCurve2D.Double. getCtrlP2()
Point2D
CubicCurve2D.Float. getCtrlP2()
abstract Point2D
CubicCurve2D. getCtrlP2()
Point2D
QuadCurve2D.Double. getCtrlPt()
Point2D
QuadCurve2D.Float. getCtrlPt()
abstract Point2D
QuadCurve2D. getCtrlPt()
Point2D
GeneralPath. getCurrentPoint()
Point2D
CubicCurve2D.Double. getP1()
Point2D
CubicCurve2D.Float. getP1()
abstract Point2D
CubicCurve2D. getP1()
Point2D
Line2D.Double. getP1()
Point2D
Line2D.Float. getP1()
abstract Point2D
Line2D. getP1()
Point2D
QuadCurve2D.Double. getP1()
Point2D
QuadCurve2D.Float. getP1()
abstract Point2D
QuadCurve2D. getP1()
Point2D
CubicCurve2D.Double. getP2()
Point2D
CubicCurve2D.Float. getP2()
abstract Point2D
CubicCurve2D. getP2()
Point2D
Line2D.Double. getP2()
Point2D
Line2D.Float. getP2()
abstract Point2D
Line2D. getP2()
Point2D
QuadCurve2D.Double. getP2()
Point2D
QuadCurve2D.Float. getP2()
abstract Point2D
QuadCurve2D. getP2()
Point2D
AffineTransform. inverseTransform(Point2D src, Point2D dst)
Point2D
AffineTransform. transform(Point2D src, Point2D dst)
Methods in com.itextpdf.awt.geom with parameters of type Point2D Modifier and Type Method Description void
Rectangle2D. add(Point2D p)
boolean
CubicCurve2D. contains(Point2D p)
boolean
GeneralPath. contains(Point2D p)
boolean
Line2D. contains(Point2D p)
boolean
QuadCurve2D. contains(Point2D p)
boolean
RectangularShape. contains(Point2D point)
boolean
Shape. contains(Point2D point)
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
CubicCurve2D. setCurve(Point2D[] points, int offset)
void
CubicCurve2D. setCurve(Point2D p1, Point2D cp1, Point2D cp2, Point2D p2)
void
QuadCurve2D. setCurve(Point2D[] points, int offset)
void
QuadCurve2D. setCurve(Point2D p1, Point2D cp, 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)
Point2D
AffineTransform. transform(Point2D src, Point2D dst)
Constructors in com.itextpdf.awt.geom with parameters of type Point2D Constructor Description Double(Point2D p1, Point2D p2)
Float(Point2D p1, Point2D p2)
-
Uses of Point2D in com.itextpdf.text.pdf.parser
Fields in com.itextpdf.text.pdf.parser declared as Point2D Modifier and Type Field Description private Point2D
Path. currentPoint
private Point2D
Line. p1
private Point2D
Line. p2
private Point2D
Subpath. startPoint
Fields in com.itextpdf.text.pdf.parser with type parameters of type Point2D Modifier and Type Field Description private java.util.List<Point2D>
BezierCurve. controlPoints
Methods in com.itextpdf.text.pdf.parser that return Point2D Modifier and Type Method 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()
Methods in com.itextpdf.text.pdf.parser that return types with arguments of type Point2D Modifier and Type Method Description java.util.List<Point2D>
BezierCurve. getBasePoints()
Treat base points as the points which are enough to construct a shape.java.util.List<Point2D>
Line. getBasePoints()
java.util.List<Point2D>
Shape. getBasePoints()
Treat base points as the points which are enough to construct a shape.java.util.List<Point2D>
BezierCurve. getPiecewiseLinearApproximation()
You can adjust precision of the approximation by varying the following parameters:BezierCurve.curveCollinearityEpsilon
,BezierCurve.distanceToleranceSquare
,BezierCurve.distanceToleranceManhattan
java.util.List<Point2D>
Subpath. getPiecewiseLinearApproximation()
Methods in com.itextpdf.text.pdf.parser with parameters of type Point2D Modifier and Type Method Description void
Subpath. setStartPoint(Point2D startPoint)
Sets the start point of the subpath.Method parameters in com.itextpdf.text.pdf.parser with type arguments of type Point2D Modifier and Type Method Description private void
BezierCurve. recursiveApproximation(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, java.util.List<Point2D> points)
Constructors in com.itextpdf.text.pdf.parser with parameters of type Point2D Constructor 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 parameters in com.itextpdf.text.pdf.parser with type arguments of type Point2D Constructor Description BezierCurve(java.util.List<Point2D> controlPoints)
Constructs new bezier curve. -
Uses of Point2D in com.itextpdf.text.pdf.pdfcleanup
Methods in com.itextpdf.text.pdf.pdfcleanup that return Point2D Modifier and Type Method Description private static Point2D
PdfCleanUpRegionFilter. componentwiseDiff(Point2D minuend, Point2D subtrahend)
private static Point2D
PdfCleanUpRegionFilter. getNextPoint(Point2D segStart, Point2D segEnd, float dist)
private static Point2D[]
PdfCleanUpRegionFilter. getRotatedSquareVertices(Point2D[] orthogonalSquareVertices, double angle, Point2D squareCenter)
private static Point2D
PdfCleanUpRegionFilter. getUnitVector(Point2D vector)
private Point2D[]
PdfCleanUpRegionFilter. getVertices(Rectangle rect)
private Point2D[]
PdfCleanUpRegionFilter. transformPoints(Matrix transormationMatrix, boolean inverse, Point2D... points)
Methods in com.itextpdf.text.pdf.pdfcleanup that return types with arguments of type Point2D Modifier and Type Method Description private static java.util.List<Point2D>
PdfCleanUpRegionFilter. convertToFloatPoints(java.util.List<Point.LongPoint> points)
private static java.util.List<Point2D>
PdfCleanUpRegionFilter. getPathApproximation(Path path)
Methods in com.itextpdf.text.pdf.pdfcleanup with parameters of type Point2D Modifier and Type Method Description private static void
PdfCleanUpRegionFilter. addRect(Clipper clipper, Point2D[] rectVertices, Clipper.PolyType polyType)
private static float
PdfCleanUpRegionFilter. applyDash(Path dashedPath, Point2D segStart, Point2D segEnd, Point2D dashTo, boolean isGap)
private static BezierCurve[]
PdfCleanUpRegionFilter. approximateCircle(Point2D center, double radius)
private static Point2D
PdfCleanUpRegionFilter. componentwiseDiff(Point2D minuend, Point2D subtrahend)
private static Subpath
PdfCleanUpRegionFilter. constructSquare(Point2D squareCenter, double widthHalf, double rotationAngle)
(package private) boolean
PdfCleanUpRegionFilter.StandardLine. contains(Point2D point)
private static Point2D
PdfCleanUpRegionFilter. getNextPoint(Point2D segStart, Point2D segEnd, float dist)
private Rectangle
PdfCleanUpRegionFilter. getRectangle(Point2D p1, Point2D p2, Point2D p3, Point2D p4)
Constructs Rectangle object on the given pointsprivate static Point2D[]
PdfCleanUpRegionFilter. getRotatedSquareVertices(Point2D[] orthogonalSquareVertices, double angle, Point2D squareCenter)
private static Point2D
PdfCleanUpRegionFilter. getUnitVector(Point2D vector)
private static double
PdfCleanUpRegionFilter. getVectorEuclideanNorm(Point2D vector)
private boolean
PdfCleanUpRegionFilter. intersect(Point2D[] rect1, Point2D[] rect2)
private static boolean
PdfCleanUpRegionFilter. liesOnSegment(Point2D segStart, Point2D segEnd, Point2D point)
private Point2D[]
PdfCleanUpRegionFilter. transformPoints(Matrix transormationMatrix, boolean inverse, Point2D... points)
private void
PdfCleanUpContentOperator. writeMoveTo(Point2D destinationPoint, PdfContentByte canvas)
Method parameters in com.itextpdf.text.pdf.pdfcleanup with type arguments of type Point2D Modifier and Type Method Description private static Path
PdfCleanUpRegionFilter. convertToIntPoints(java.util.List<Point2D> points)
Constructors in com.itextpdf.text.pdf.pdfcleanup with parameters of type Point2D Constructor Description StandardLine(Point2D p1, Point2D p2)
-