Uses of Class
com.itextpdf.kernel.geom.Point
Packages that use Point
Package
Description
-
Uses of Point in com.itextpdf.kernel.colors.gradients
Fields in com.itextpdf.kernel.colors.gradients declared as PointMethods in com.itextpdf.kernel.colors.gradients that return PointModifier and TypeMethodDescriptionprivate 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 PointModifier and TypeMethodDescriptionprivate static Point[]
StrategyBasedLinearGradientBuilder.buildToCornerCoordinates
(Rectangle targetBoundingBox, Point gradientCenterLineRightCorner) private static AffineTransform
StrategyBasedLinearGradientBuilder.buildToCornerTransform
(Point center, Point gradientCenterLineRightCorner) private static PdfAxialShading
AbstractLinearGradientBuilder.createAxialShading
(Point[] baseCoordinatesVector, 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 PdfArray
AbstractLinearGradientBuilder.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 PointModifier and TypeFieldDescriptionprivate Point
Path.currentPoint
private final Point
Line.p1
private final Point
Line.p2
private Point
Subpath.startPoint
Fields in com.itextpdf.kernel.geom with type parameters of type PointMethods in com.itextpdf.kernel.geom that return PointModifier and TypeMethodDescriptionAffineTransform.deltaTransform
(Point src, Point dst) Performs the transformation on the source point and stores the result in the destination point.Path.getCurrentPoint()
The current point is the trailing endpoint of the segment most recently added to the current path.Subpath.getLastPoint()
Point.getLocation()
Gets location of point by creating a new copy.Subpath.getStartPoint()
AffineTransform.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 pointsTransform the point according to the values of thisAffineTransform
object.private static Point[]
ShapeTransformUtil.transformPoints
(Matrix ctm, Point... points) Methods in com.itextpdf.kernel.geom that return types with arguments of type PointModifier and TypeMethodDescriptionBezierCurve.getBasePoints()
Treat base points as the points which are enough to construct a shape.IShape.getBasePoints()
Treat base points as the points which are enough to construct a shape.Line.getBasePoints()
BezierCurve.getPiecewiseLinearApproximation()
You can adjust precision of the approximation by varying the following parameters:BezierCurve.curveCollinearityEpsilon
,BezierCurve.distanceToleranceSquare
,BezierCurve.distanceToleranceManhattan
.Subpath.getPiecewiseLinearApproximation()
Methods in com.itextpdf.kernel.geom with parameters of type PointModifier and TypeMethodDescriptionAffineTransform.deltaTransform
(Point src, Point dst) Performs the transformation on the source point and stores the result in the destination point.double
The distance between this point and the second point.AffineTransform.inverseTransform
(Point src, Point dst) Performs the inverse transformation on the source point and stores the result in the destination point.void
Subpath.setStartPoint
(Point startPoint) Sets the start point of the subpath.void
Transform the array of points according to the values of thisAffineTransform
object.Transform the point according to the values of thisAffineTransform
object.private static Point[]
ShapeTransformUtil.transformPoints
(Matrix ctm, Point... points) Method parameters in com.itextpdf.kernel.geom with type arguments of type PointModifier and TypeMethodDescriptionstatic Rectangle
Rectangle.calculateBBox
(List<Point> points) Calculates the bounding box of passed points.private void
BezierCurve.recursiveApproximation
(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, List<Point> points) Constructors in com.itextpdf.kernel.geom with parameters of type PointModifierConstructorDescriptionConstructs a new line based on the given coordinates.Constructs a new subpath starting at the given point.Constructor parameters in com.itextpdf.kernel.geom with type arguments of type PointModifierConstructorDescriptionBezierCurve
(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 PointModifier and TypeMethodDescriptionClipperBridge.convertToFloatPoints
(List<Point.LongPoint> points) Converts list ofPoint.LongPoint
objects into list ofPoint
objects.Methods in com.itextpdf.kernel.pdf.canvas.parser.clipper with parameters of type PointModifier and TypeMethodDescriptionboolean
ClipperBridge.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 toIClipper
instance, treating the path as a closed polygon.boolean
ClipperBridge.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 toIClipper
instance, treating the path as a polyline (an open path in terms of clipper library).private void
ClipperBridge.calculateFloatMultiplier
(Point[]... points) Method parameters in com.itextpdf.kernel.pdf.canvas.parser.clipper with type arguments of type PointModifier and TypeMethodDescriptionClipperBridge.convertToLongPoints
(List<Point> points) Converts list ofPoint
objects into list ofPoint.LongPoint
objects.Constructors in com.itextpdf.kernel.pdf.canvas.parser.clipper with parameters of type PointModifierConstructorDescriptionClipperBridge
(Point[]... points) Creates newClipperBridge
instance 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 PointMethods in com.itextpdf.kernel.pdf.canvas.wmf that return PointMethods in com.itextpdf.kernel.pdf.canvas.wmf with parameters of type PointModifier and TypeMethodDescriptionvoid
MetaState.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 PointModifier and TypeMethodDescriptionprotected Point
Border.getIntersectionPoint
(Point lineBeg, Point lineEnd, Point clipLineBeg, Point clipLineEnd) Gets aPoint
in which two lines intersect.Methods in com.itextpdf.layout.borders with parameters of type Point -
Uses of Point in com.itextpdf.layout.properties
Methods in com.itextpdf.layout.properties that return PointModifier and TypeMethodDescriptionBackgroundRepeat.prepareRectangleToDrawingAndGetWhitespace
(Rectangle imageRectangle, Rectangle backgroundArea, BackgroundSize backgroundSize) Prepares the image rectangle for drawing.private Point
BackgroundRepeat.processSpaceValueAndCalculateWhitespace
(Rectangle imageRectangle, Rectangle backgroundArea) -
Uses of Point in com.itextpdf.layout.renderer
Methods in com.itextpdf.layout.renderer that return PointModifier and TypeMethodDescriptionprivate Point
BlockRenderer.getIntersectionPoint
(Point lineBeg, Point lineEnd, Point clipLineBeg, Point clipLineEnd) Methods in com.itextpdf.layout.renderer that return types with arguments of type PointModifier and TypeMethodDescriptionBlockRenderer.clipPolygon
(List<Point> points, Point clipLineBeg, Point clipLineEnd) AbstractRenderer.rectangleToPointsList
(Rectangle rect) AbstractRenderer.transformPoints
(List<Point> points, AffineTransform transform) Methods in com.itextpdf.layout.renderer with parameters of type PointModifier and TypeMethodDescriptionprivate int
BlockRenderer.checkPointSide
(Point filteredPoint, Point clipLineBeg, Point clipLineEnd) BlockRenderer.clipPolygon
(List<Point> points, Point clipLineBeg, Point clipLineEnd) private Point
BlockRenderer.getIntersectionPoint
(Point lineBeg, Point lineEnd, Point clipLineBeg, Point clipLineEnd) Method parameters in com.itextpdf.layout.renderer with type arguments of type PointModifier and TypeMethodDescriptionprotected Rectangle
AbstractRenderer.calculateBBox
(List<Point> points) Calculates bounding box around points.protected float[]
AbstractRenderer.calculateShiftToPositionBBoxOfPointsAt
(float left, float top, 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.BlockRenderer.clipPolygon
(List<Point> points, Point clipLineBeg, Point clipLineEnd) AbstractRenderer.transformPoints
(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 PointModifier and TypeFieldDescriptionPolylineSvgNodeRenderer.points
A List ofPoint
objects representing the path to be drawn by the polyline tagMethods in com.itextpdf.svg.renderers.impl that return PointModifier and TypeMethodDescriptionprivate Point[]
LinearGradientSvgNodeRenderer.getCoordinates
(SvgDrawContext context, boolean isObjectBoundingBox) private static Point
PathSvgNodeRenderer.getCurrentPoint
(IPathShape previousShape) Methods in com.itextpdf.svg.renderers.impl that return types with arguments of type PointMethods in com.itextpdf.svg.renderers.impl with parameters of type PointModifier and TypeMethodDescriptionISvgTextNodeRenderer.getTextRectangle
(SvgDrawContext context, Point basePoint) Return the bounding rectangle of the text element.TextLeafSvgNodeRenderer.getTextRectangle
(SvgDrawContext context, Point basePoint) TextSvgBranchRenderer.getTextRectangle
(SvgDrawContext context, Point basePoint) -
Uses of Point in com.itextpdf.svg.renderers.path
Methods in com.itextpdf.svg.renderers.path that return PointModifier and TypeMethodDescriptionIPathShape.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 PointModifier and TypeMethodDescriptionIPathShape.getPathShapeRectangle
(Point lastPoint) Get bounding rectangle of the current path shape.void
IPathShape.setCoordinates
(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 PointModifier and TypeFieldDescription(package private) final Point
EllipticalCurveTo.EllipseArc.ll
private Point
EllipticalCurveTo.startPoint
(package private) final Point
EllipticalCurveTo.EllipseArc.ur
Methods in com.itextpdf.svg.renderers.path.impl that return PointModifier and TypeMethodDescriptionprotected Point
AbstractPathShape.createPoint
(String coordX, String coordY) AbstractPathShape.getEndingPoint()
private Point
CurveTo.getFirstControlPoint()
CurveTo.getLastControlPoint()
IControlPointCurve.getLastControlPoint()
Returns coordinates of the last control point (the one closest to the ending point) in the Bezier curve, in SVG space coordinatesQuadraticCurveTo.getLastControlPoint()
private Point[][]
EllipticalCurveTo.makePoints
(List<double[]> input) (package private) static Point[][]
This convenience method rotates a given set of points around a given pointMethods in com.itextpdf.svg.renderers.path.impl with parameters of type PointModifier and TypeMethodDescription(package private) static double
EllipticalCurveTo.EllipseArc.calculateAngle
(Point pt, Point center, double a, double b) (package private) static EllipticalCurveTo.EllipseArc
EllipticalCurveTo.EllipseArc.calculatePossibleMiddle
(Point start, Point end, double a, double b, double startToCenterAngle, boolean sweep, boolean largeArc) private static void
(package private) static EllipticalCurveTo.EllipseArc
EllipticalCurveTo.EllipseArc.getEllipse
(Point start, Point end, double a, double b, boolean sweep, boolean largeArc) AbstractPathShape.getPathShapeRectangle
(Point lastPoint) Get bounding rectangle of the current path shape.CurveTo.getPathShapeRectangle
(Point lastPoint) EllipticalCurveTo.getPathShapeRectangle
(Point lastPoint) QuadraticCurveTo.getPathShapeRectangle
(Point lastPoint) (package private) static Point[][]
This convenience method rotates a given set of points around a given pointvoid
CurveTo.setCoordinates
(String[] inputCoordinates, Point startPoint) void
EllipticalCurveTo.setCoordinates
(String[] inputCoordinates, Point previous) void
HorizontalLineTo.setCoordinates
(String[] inputCoordinates, Point startPoint) void
LineTo.setCoordinates
(String[] inputCoordinates, Point startPoint) void
MoveTo.setCoordinates
(String[] inputCoordinates, Point startPoint) void
QuadraticCurveTo.setCoordinates
(String[] inputCoordinates, Point startPoint) void
VerticalLineTo.setCoordinates
(String[] inputCoordinates, Point startPoint) Constructors in com.itextpdf.svg.renderers.path.impl with parameters of type PointModifierConstructorDescription(package private)
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 PointModifier and TypeMethodDescriptionTextRectangle.getTextBaseLineRightPoint()
Return the far right point of the rectangle with y on the baseline.