Uses of Class
com.itextpdf.kernel.geom.Point
-
-
Uses of Point in com.itextpdf.kernel.colors.gradients
Fields in com.itextpdf.kernel.colors.gradients declared as Point Modifier and Type Field Description private Point[]LinearGradientBuilder. coordinatesMethods in com.itextpdf.kernel.colors.gradients that return Point Modifier and Type Method Description private static Point[]StrategyBasedLinearGradientBuilder. buildCentralRotationCoordinates(Rectangle targetBoundingBox, double angle)private static Point[]StrategyBasedLinearGradientBuilder. buildCoordinates(Rectangle targetBoundingBox, AffineTransform transformation)private static Point[]StrategyBasedLinearGradientBuilder. buildCoordinatesWithGradientStrategy(Rectangle targetBoundingBox, StrategyBasedLinearGradientBuilder.GradientStrategy gradientStrategy)private static Point[]StrategyBasedLinearGradientBuilder. buildToCornerCoordinates(Rectangle targetBoundingBox, Point gradientCenterLineRightCorner)private static Point[]StrategyBasedLinearGradientBuilder. createCoordinates(double x1, double y1, double x2, double y2)protected static Point[]AbstractLinearGradientBuilder. createCoordinatesForNewDomain(double[] newDomain, Point[] baseVector)Expand the base vector to cover the new domainprotected abstract Point[]AbstractLinearGradientBuilder. getGradientVector(Rectangle targetBoundingBox, AffineTransform contextTransform)Returns the base gradient vector in gradient vector space.Point[]LinearGradientBuilder. getGradientVector(Rectangle targetBoundingBox, AffineTransform contextTransform)protected Point[]StrategyBasedLinearGradientBuilder. getGradientVector(Rectangle targetBoundingBox, AffineTransform contextTransform)Methods in com.itextpdf.kernel.colors.gradients with parameters of type Point Modifier and Type Method Description private static Point[]StrategyBasedLinearGradientBuilder. buildToCornerCoordinates(Rectangle targetBoundingBox, Point gradientCenterLineRightCorner)private static AffineTransformStrategyBasedLinearGradientBuilder. buildToCornerTransform(Point center, Point gradientCenterLineRightCorner)private static PdfAxialShadingAbstractLinearGradientBuilder. createAxialShading(Point[] baseCoordinatesVector, java.util.List<GradientColorStop> stops, GradientSpreadMethod spreadMethod, Rectangle targetBoundingBox)protected static Point[]AbstractLinearGradientBuilder. createCoordinatesForNewDomain(double[] newDomain, Point[] baseVector)Expand the base vector to cover the new domainprivate static PdfArrayAbstractLinearGradientBuilder. createCoordsPdfArray(Point[] coordsPoints)protected static double[]AbstractLinearGradientBuilder. evaluateCoveringDomain(Point[] coords, Rectangle toCover)Evaluates the minimal domain that covers the box with vector normals. -
Uses of Point in com.itextpdf.kernel.geom
Fields in com.itextpdf.kernel.geom declared as Point Modifier and Type Field Description private PointPath. currentPointprivate PointLine. p1private PointLine. p2private PointSubpath. startPointFields in com.itextpdf.kernel.geom with type parameters of type Point Modifier and Type Field Description private java.util.List<Point>BezierCurve. controlPointsMethods in com.itextpdf.kernel.geom that return Point Modifier and Type Method Description PointAffineTransform. deltaTransform(Point src, Point dst)Performs the transformation on the source point and stores the result in the destination point.PointPath. getCurrentPoint()The current point is the trailing endpoint of the segment most recently added to the current path.PointSubpath. getLastPoint()PointPoint. getLocation()Gets location of point by creating a new copy.PointSubpath. getStartPoint()PointAffineTransform. inverseTransform(Point src, Point dst)Performs the inverse transformation on the source point and stores the result in the destination point.Point[]Rectangle. toPointsArray()Convert rectangle to an array of pointsPointAffineTransform. transform(Point src, Point dst)Transform the point according to the values of thisAffineTransformobject.private static Point[]ShapeTransformUtil. transformPoints(Matrix ctm, Point... points)Methods in com.itextpdf.kernel.geom that return types with arguments of type Point Modifier and Type Method Description java.util.List<Point>BezierCurve. getBasePoints()Treat base points as the points which are enough to construct a shape.java.util.List<Point>IShape. getBasePoints()Treat base points as the points which are enough to construct a shape.java.util.List<Point>Line. getBasePoints()java.util.List<Point>BezierCurve. getPiecewiseLinearApproximation()You can adjust precision of the approximation by varying the following parameters:BezierCurve.curveCollinearityEpsilon,BezierCurve.distanceToleranceSquare,BezierCurve.distanceToleranceManhattan.java.util.List<Point>Subpath. getPiecewiseLinearApproximation()Methods in com.itextpdf.kernel.geom with parameters of type Point Modifier and Type Method Description PointAffineTransform. deltaTransform(Point src, Point dst)Performs the transformation on the source point and stores the result in the destination point.doublePoint. distance(Point p)The distance between this point and the second point.PointAffineTransform. inverseTransform(Point src, Point dst)Performs the inverse transformation on the source point and stores the result in the destination point.voidSubpath. setStartPoint(Point startPoint)Sets the start point of the subpath.voidAffineTransform. transform(Point[] src, int srcOff, Point[] dst, int dstOff, int length)Transform the array of points according to the values of thisAffineTransformobject.PointAffineTransform. transform(Point src, Point dst)Transform the point according to the values of thisAffineTransformobject.private static Point[]ShapeTransformUtil. transformPoints(Matrix ctm, Point... points)Method parameters in com.itextpdf.kernel.geom with type arguments of type Point Modifier and Type Method Description static RectangleRectangle. calculateBBox(java.util.List<Point> points)Calculates the bounding box of passed points.private voidBezierCurve. recursiveApproximation(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, java.util.List<Point> points)Constructors in com.itextpdf.kernel.geom with parameters of type Point Constructor Description Line(Point p1, Point p2)Constructs a new line based on the given coordinates.Point(Point other)Subpath(Point startPoint)Constructs a new subpath starting at the given point.Constructor parameters in com.itextpdf.kernel.geom with type arguments of type Point Constructor Description BezierCurve(java.util.List<Point> controlPoints)Constructs new bezier curve. -
Uses of Point in com.itextpdf.kernel.pdf.canvas.parser.clipper
Methods in com.itextpdf.kernel.pdf.canvas.parser.clipper that return types with arguments of type Point Modifier and Type Method Description java.util.List<Point>ClipperBridge. convertToFloatPoints(java.util.List<Point.LongPoint> points)Converts list ofPoint.LongPointobjects into list ofPointobjects.Methods in com.itextpdf.kernel.pdf.canvas.parser.clipper with parameters of type Point Modifier and Type Method Description booleanClipperBridge. addPolygonToClipper(IClipper clipper, Point[] polyVertices, IClipper.PolyType polyType)Adds polygon path based on array ofPoint(internally converting them byClipperBridge.convertToLongPoints(java.util.List<com.itextpdf.kernel.geom.Point>)) and adds this path toIClipperinstance, treating the path as a closed polygon.booleanClipperBridge. addPolylineSubjectToClipper(IClipper clipper, Point[] lineVertices)Adds polyline path based on array ofPoint(internally converting them byClipperBridge.convertToLongPoints(java.util.List<com.itextpdf.kernel.geom.Point>)) and adds this path toIClipperinstance, treating the path as a polyline (an open path in terms of clipper library).private voidClipperBridge. calculateFloatMultiplier(Point[]... points)Method parameters in com.itextpdf.kernel.pdf.canvas.parser.clipper with type arguments of type Point Modifier and Type Method Description java.util.List<Point.LongPoint>ClipperBridge. convertToLongPoints(java.util.List<Point> points)Converts list ofPointobjects into list ofPoint.LongPointobjects.Constructors in com.itextpdf.kernel.pdf.canvas.parser.clipper with parameters of type Point Constructor Description ClipperBridge(Point[]... points)Creates newClipperBridgeinstance with adjusted float multiplier value. -
Uses of Point in com.itextpdf.kernel.pdf.canvas.wmf
Fields in com.itextpdf.kernel.pdf.canvas.wmf declared as Point Modifier and Type Field Description private PointMetaState. currentPointCurrent Point.Methods in com.itextpdf.kernel.pdf.canvas.wmf that return Point Modifier and Type Method Description PointMetaState. getCurrentPoint()Returns the current Point.Methods in com.itextpdf.kernel.pdf.canvas.wmf with parameters of type Point Modifier and Type Method Description voidMetaState. setCurrentPoint(Point p)Sets the current Point to the specified Point. -
Uses of Point in com.itextpdf.layout.borders
Methods in com.itextpdf.layout.borders that return Point Modifier and Type Method Description protected PointBorder. getIntersectionPoint(Point lineBeg, Point lineEnd, Point clipLineBeg, Point clipLineEnd)Gets aPointin which two lines intersect.Methods in com.itextpdf.layout.borders with parameters of type Point Modifier and Type Method Description protected PointBorder. getIntersectionPoint(Point lineBeg, Point lineEnd, Point clipLineBeg, Point clipLineEnd)Gets aPointin which two lines intersect. -
Uses of Point in com.itextpdf.layout.properties
Methods in com.itextpdf.layout.properties that return Point Modifier and Type Method Description PointBackgroundRepeat. prepareRectangleToDrawingAndGetWhitespace(Rectangle imageRectangle, Rectangle backgroundArea, BackgroundSize backgroundSize)Prepares the image rectangle for drawing.private PointBackgroundRepeat. processSpaceValueAndCalculateWhitespace(Rectangle imageRectangle, Rectangle backgroundArea) -
Uses of Point in com.itextpdf.layout.renderer
Methods in com.itextpdf.layout.renderer that return Point Modifier and Type Method Description private PointBlockRenderer. getIntersectionPoint(Point lineBeg, Point lineEnd, Point clipLineBeg, Point clipLineEnd)Methods in com.itextpdf.layout.renderer that return types with arguments of type Point Modifier and Type Method Description private java.util.List<Point>BlockRenderer. clipPolygon(java.util.List<Point> points, Point clipLineBeg, Point clipLineEnd)protected java.util.List<Point>AbstractRenderer. rectangleToPointsList(Rectangle rect)protected java.util.List<Point>AbstractRenderer. transformPoints(java.util.List<Point> points, AffineTransform transform)Methods in com.itextpdf.layout.renderer with parameters of type Point Modifier and Type Method Description private intBlockRenderer. checkPointSide(Point filteredPoint, Point clipLineBeg, Point clipLineEnd)private java.util.List<Point>BlockRenderer. clipPolygon(java.util.List<Point> points, Point clipLineBeg, Point clipLineEnd)private PointBlockRenderer. getIntersectionPoint(Point lineBeg, Point lineEnd, Point clipLineBeg, Point clipLineEnd)Method parameters in com.itextpdf.layout.renderer with type arguments of type Point Modifier and Type Method Description protected RectangleAbstractRenderer. calculateBBox(java.util.List<Point> points)Calculates bounding box around points.protected float[]AbstractRenderer. calculateShiftToPositionBBoxOfPointsAt(float left, float top, java.util.List<Point> points)This method calculates the shift needed to be applied to the points in order to position upper and left borders of their bounding box at the given lines.private java.util.List<Point>BlockRenderer. clipPolygon(java.util.List<Point> points, Point clipLineBeg, Point clipLineEnd)protected java.util.List<Point>AbstractRenderer. transformPoints(java.util.List<Point> points, AffineTransform transform) -
Uses of Point in com.itextpdf.svg.renderers.impl
Fields in com.itextpdf.svg.renderers.impl with type parameters of type Point Modifier and Type Field Description protected java.util.List<Point>PolylineSvgNodeRenderer. pointsA List ofPointobjects representing the path to be drawn by the polyline tag.Methods in com.itextpdf.svg.renderers.impl that return Point Modifier and Type Method Description private Point[]LinearGradientSvgNodeRenderer. getCoordinates(SvgDrawContext context, boolean isObjectBoundingBox)private static PointPathSvgNodeRenderer. getCurrentPoint(IPathShape previousShape)private PointTextSvgBranchRenderer. getStartPoint(SvgDrawContext context, Point basePoint)Methods in com.itextpdf.svg.renderers.impl that return types with arguments of type Point Modifier and Type Method Description protected java.util.List<Point>PolylineSvgNodeRenderer. getPoints()Returns a list ofPointobjects representing the path to be drawn by the polyline tag.Methods in com.itextpdf.svg.renderers.impl with parameters of type Point Modifier and Type Method Description private PointTextSvgBranchRenderer. getStartPoint(SvgDrawContext context, Point basePoint)TextRectangleISvgTextNodeRenderer. getTextRectangle(SvgDrawContext context, Point basePoint)Return the bounding rectangle of the text element.TextRectangleTextLeafSvgNodeRenderer. getTextRectangle(SvgDrawContext context, Point startPoint)TextRectangleTextSvgBranchRenderer. getTextRectangle(SvgDrawContext context, Point startPoint)Method parameters in com.itextpdf.svg.renderers.impl with type arguments of type Point Modifier and Type Method Description (package private) static voidMarkerSvgNodeRenderer. drawMarkers(SvgDrawContext context, int startIndex, java.util.List<Point> markerPoints, MarkerVertexType markerToUse, AbstractSvgNodeRenderer parent) -
Uses of Point in com.itextpdf.svg.renderers.path
Methods in com.itextpdf.svg.renderers.path that return Point Modifier and Type Method Description PointIPathShape. getEndingPoint()Gets the ending point on the canvas after the path shape has been drawn via theIPathShape.draw(PdfCanvas)method, in SVG space coordinates.Methods in com.itextpdf.svg.renderers.path with parameters of type Point Modifier and Type Method Description RectangleIPathShape. getPathShapeRectangle(Point lastPoint)Get bounding rectangle of the current path shape.voidIPathShape. setCoordinates(java.lang.String[] inputCoordinates, Point startPoint)This method sets the coordinates for the path painting operator and does internal preprocessing, if necessary -
Uses of Point in com.itextpdf.svg.renderers.path.impl
Fields in com.itextpdf.svg.renderers.path.impl declared as Point Modifier and Type Field Description (package private) PointEllipticalCurveTo.EllipseArc. llprivate PointEllipticalCurveTo. startPoint(package private) PointEllipticalCurveTo.EllipseArc. urMethods in com.itextpdf.svg.renderers.path.impl that return Point Modifier and Type Method Description protected PointAbstractPathShape. createPoint(java.lang.String coordX, java.lang.String coordY)PointAbstractPathShape. getEndingPoint()private PointCurveTo. getFirstControlPoint()PointCurveTo. getLastControlPoint()PointIControlPointCurve. getLastControlPoint()Returns coordinates of the last control point (the one closest to the ending point) in the Bezier curve, in SVG space coordinatesPointQuadraticCurveTo. getLastControlPoint()private Point[][]EllipticalCurveTo. makePoints(java.util.List<double[]> input)(package private) static Point[][]EllipticalCurveTo. rotate(Point[][] list, double rotation, Point rotator)This convenience method rotates a given set of points around a given pointMethods in com.itextpdf.svg.renderers.path.impl with parameters of type Point Modifier and Type Method Description (package private) static doubleEllipticalCurveTo.EllipseArc. calculateAngle(Point pt, Point center, double a, double b)(package private) static EllipticalCurveTo.EllipseArcEllipticalCurveTo.EllipseArc. calculatePossibleMiddle(Point start, Point end, double a, double b, double startToCenterAngle, boolean sweep, boolean largeArc)private voidEllipticalCurveTo. drawCurve(PdfCanvas canvas, Point cp1, Point cp2, Point end)(package private) static EllipticalCurveTo.EllipseArcEllipticalCurveTo.EllipseArc. getEllipse(Point start, Point end, double a, double b, boolean sweep, boolean largeArc)RectangleAbstractPathShape. getPathShapeRectangle(Point lastPoint)Get bounding rectangle of the current path shape.RectangleCurveTo. getPathShapeRectangle(Point lastPoint)RectangleEllipticalCurveTo. getPathShapeRectangle(Point lastPoint)RectangleQuadraticCurveTo. getPathShapeRectangle(Point lastPoint)(package private) static Point[][]EllipticalCurveTo. rotate(Point[][] list, double rotation, Point rotator)This convenience method rotates a given set of points around a given pointvoidCurveTo. setCoordinates(java.lang.String[] inputCoordinates, Point startPoint)voidEllipticalCurveTo. setCoordinates(java.lang.String[] inputCoordinates, Point previous)voidHorizontalLineTo. setCoordinates(java.lang.String[] inputCoordinates, Point startPoint)voidLineTo. setCoordinates(java.lang.String[] inputCoordinates, Point startPoint)voidMoveTo. setCoordinates(java.lang.String[] inputCoordinates, Point startPoint)voidQuadraticCurveTo. setCoordinates(java.lang.String[] inputCoordinates, Point startPoint)voidVerticalLineTo. setCoordinates(java.lang.String[] inputCoordinates, Point startPoint)Constructors in com.itextpdf.svg.renderers.path.impl with parameters of type Point Constructor Description EllipseArc(Point center, double a, double b, double startAng, double extent) -
Uses of Point in com.itextpdf.svg.utils
Methods in com.itextpdf.svg.utils that return Point Modifier and Type Method Description PointTextRectangle. getTextBaseLineRightPoint()Return the far right point of the rectangle with y on the baseline.
-