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 classPointstatic classPoint2D.Doublestatic classPoint2D.FloatMethods in com.itextpdf.awt.geom that return Point2D Modifier and Type Method Description Point2DAffineTransform. deltaTransform(Point2D src, Point2D dst)Point2DCubicCurve2D.Double. getCtrlP1()Point2DCubicCurve2D.Float. getCtrlP1()abstract Point2DCubicCurve2D. getCtrlP1()Point2DCubicCurve2D.Double. getCtrlP2()Point2DCubicCurve2D.Float. getCtrlP2()abstract Point2DCubicCurve2D. getCtrlP2()Point2DQuadCurve2D.Double. getCtrlPt()Point2DQuadCurve2D.Float. getCtrlPt()abstract Point2DQuadCurve2D. getCtrlPt()Point2DGeneralPath. getCurrentPoint()Point2DCubicCurve2D.Double. getP1()Point2DCubicCurve2D.Float. getP1()abstract Point2DCubicCurve2D. getP1()Point2DLine2D.Double. getP1()Point2DLine2D.Float. getP1()abstract Point2DLine2D. getP1()Point2DQuadCurve2D.Double. getP1()Point2DQuadCurve2D.Float. getP1()abstract Point2DQuadCurve2D. getP1()Point2DCubicCurve2D.Double. getP2()Point2DCubicCurve2D.Float. getP2()abstract Point2DCubicCurve2D. getP2()Point2DLine2D.Double. getP2()Point2DLine2D.Float. getP2()abstract Point2DLine2D. getP2()Point2DQuadCurve2D.Double. getP2()Point2DQuadCurve2D.Float. getP2()abstract Point2DQuadCurve2D. getP2()Point2DAffineTransform. inverseTransform(Point2D src, Point2D dst)Point2DAffineTransform. transform(Point2D src, Point2D dst)Methods in com.itextpdf.awt.geom with parameters of type Point2D Modifier and Type Method Description voidRectangle2D. add(Point2D p)booleanCubicCurve2D. contains(Point2D p)booleanGeneralPath. contains(Point2D p)booleanLine2D. contains(Point2D p)booleanQuadCurve2D. contains(Point2D p)booleanRectangularShape. contains(Point2D point)booleanShape. contains(Point2D point)Point2DAffineTransform. deltaTransform(Point2D src, Point2D dst)doublePoint2D. distance(Point2D p)doublePoint2D. distanceSq(Point2D p)Point2DAffineTransform. inverseTransform(Point2D src, Point2D dst)intRectangle2D. outcode(Point2D p)doubleLine2D. ptLineDist(Point2D p)doubleLine2D. ptLineDistSq(Point2D p)doubleLine2D. ptSegDist(Point2D p)doubleLine2D. ptSegDistSq(Point2D p)intLine2D. relativeCCW(Point2D p)voidCubicCurve2D. setCurve(Point2D[] points, int offset)voidCubicCurve2D. setCurve(Point2D p1, Point2D cp1, Point2D cp2, Point2D p2)voidQuadCurve2D. setCurve(Point2D[] points, int offset)voidQuadCurve2D. setCurve(Point2D p1, Point2D cp, Point2D p2)voidRectangularShape. setFrame(Point2D loc, Dimension2D size)voidRectangularShape. setFrameFromCenter(Point2D center, Point2D corner)voidRectangularShape. setFrameFromDiagonal(Point2D p1, Point2D p2)voidLine2D. setLine(Point2D p1, Point2D p2)voidPoint2D. setLocation(Point2D p)voidAffineTransform. transform(Point2D[] src, int srcOff, Point2D[] dst, int dstOff, int length)Point2DAffineTransform. 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 Point2DPath. currentPointprivate Point2DLine. p1private Point2DLine. p2private Point2DSubpath. startPointFields in com.itextpdf.text.pdf.parser with type parameters of type Point2D Modifier and Type Field Description private java.util.List<Point2D>BezierCurve. controlPointsMethods in com.itextpdf.text.pdf.parser that return Point2D Modifier and Type Method Description Point2DPath. getCurrentPoint()The current point is the trailing endpoint of the segment most recently added to the current path.Point2DSubpath. getLastPoint()Point2DSubpath. 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.distanceToleranceManhattanjava.util.List<Point2D>Subpath. getPiecewiseLinearApproximation()Methods in com.itextpdf.text.pdf.parser with parameters of type Point2D Modifier and Type Method Description voidSubpath. 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 voidBezierCurve. 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 Point2DPdfCleanUpRegionFilter. componentwiseDiff(Point2D minuend, Point2D subtrahend)private static Point2DPdfCleanUpRegionFilter. getNextPoint(Point2D segStart, Point2D segEnd, float dist)private static Point2D[]PdfCleanUpRegionFilter. getRotatedSquareVertices(Point2D[] orthogonalSquareVertices, double angle, Point2D squareCenter)private static Point2DPdfCleanUpRegionFilter. 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 voidPdfCleanUpRegionFilter. addRect(Clipper clipper, Point2D[] rectVertices, Clipper.PolyType polyType)private static floatPdfCleanUpRegionFilter. applyDash(Path dashedPath, Point2D segStart, Point2D segEnd, Point2D dashTo, boolean isGap)private static BezierCurve[]PdfCleanUpRegionFilter. approximateCircle(Point2D center, double radius)private static Point2DPdfCleanUpRegionFilter. componentwiseDiff(Point2D minuend, Point2D subtrahend)private static SubpathPdfCleanUpRegionFilter. constructSquare(Point2D squareCenter, double widthHalf, double rotationAngle)(package private) booleanPdfCleanUpRegionFilter.StandardLine. contains(Point2D point)private static Point2DPdfCleanUpRegionFilter. getNextPoint(Point2D segStart, Point2D segEnd, float dist)private RectanglePdfCleanUpRegionFilter. 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 Point2DPdfCleanUpRegionFilter. getUnitVector(Point2D vector)private static doublePdfCleanUpRegionFilter. getVectorEuclideanNorm(Point2D vector)private booleanPdfCleanUpRegionFilter. intersect(Point2D[] rect1, Point2D[] rect2)private static booleanPdfCleanUpRegionFilter. liesOnSegment(Point2D segStart, Point2D segEnd, Point2D point)private Point2D[]PdfCleanUpRegionFilter. transformPoints(Matrix transormationMatrix, boolean inverse, Point2D... points)private voidPdfCleanUpContentOperator. 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 PathPdfCleanUpRegionFilter. 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)
-