Uses of Class
com.itextpdf.kernel.geom.Point
Package
Description
-
Uses of Point in com.itextpdf.kernel.colors.gradients
Modifier and TypeMethodDescriptionprotected 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) Modifier and TypeMethodDescriptionprotected static Point[]
AbstractLinearGradientBuilder.createCoordinatesForNewDomain
(double[] newDomain, Point[] baseVector) Expand the base vector to cover the new domainprotected 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
Modifier and TypeMethodDescriptionAffineTransform.deltaTransform
(Point src, Point dst) Path.getCurrentPoint()
The current point is the trailing endpoint of the segment most recently added to the current path.Subpath.getLastPoint()
Point.getLocation()
Subpath.getStartPoint()
AffineTransform.inverseTransform
(Point src, Point dst) Point[]
Rectangle.toPointsArray()
Convert rectangle to an array of pointsModifier 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()
Modifier and TypeMethodDescriptionAffineTransform.deltaTransform
(Point src, Point dst) double
double
Point.distanceSq
(Point p) AffineTransform.inverseTransform
(Point src, Point dst) void
Point.setLocation
(Point p) void
Subpath.setStartPoint
(Point startPoint) Sets the start point of the subpath.void
Modifier and TypeMethodDescriptionstatic Rectangle
Rectangle.calculateBBox
(List<Point> points) Calculates the bounding box of passed points.ModifierConstructorDescriptionConstructs a new line based on the given coordinates.Constructs a new subpath starting at the given point.ModifierConstructorDescriptionBezierCurve
(List<Point> controlPoints) Constructs new bezier curve. -
Uses of Point in com.itextpdf.kernel.pdf.canvas.parser.clipper
Modifier and TypeMethodDescriptionClipperBridge.convertToFloatPoints
(List<Point.LongPoint> points) Converts list ofPoint.LongPoint
objects into list ofPoint
objects.Modifier and TypeMethodDescriptionstatic boolean
ClipperBridge.addPolygonToClipper
(IClipper clipper, Point[] polyVertices, IClipper.PolyType polyType) Adds polygon path based on array ofPoint
(internally converting them byClipperBridge.convertToLongPoints(java.util.List
) and adds this path to) IClipper
instance, treating the path as a closed polygon.static boolean
ClipperBridge.addPolylineSubjectToClipper
(IClipper clipper, Point[] lineVertices) Adds polyline path based on array ofPoint
(internally converting them byClipperBridge.convertToLongPoints(java.util.List
) and adds this path to) IClipper
instance, treating the path as a polyline (an open path in terms of clipper library).Modifier and TypeMethodDescriptionstatic List<Point.LongPoint>
ClipperBridge.convertToLongPoints
(List<Point> points) Converts list ofPoint
objects into list ofPoint.LongPoint
objects. -
Uses of Point in com.itextpdf.kernel.pdf.canvas.wmf
Modifier and TypeMethodDescriptionvoid
MetaState.setCurrentPoint
(Point p) Sets the current Point to the specified Point. -
Uses of Point in com.itextpdf.layout.borders
-
Uses of Point in com.itextpdf.layout.properties
Modifier and TypeMethodDescriptionBackgroundRepeat.prepareRectangleToDrawingAndGetWhitespace
(Rectangle imageRectangle, Rectangle backgroundArea, BackgroundSize backgroundSize) Prepares the image rectangle for drawing. -
Uses of Point in com.itextpdf.layout.renderer
Modifier and TypeMethodDescriptionAbstractRenderer.rectangleToPointsList
(Rectangle rect) AbstractRenderer.transformPoints
(List<Point> points, AffineTransform transform) Modifier 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.AbstractRenderer.transformPoints
(List<Point> points, AffineTransform transform) -
Uses of Point in com.itextpdf.svg.renderers.impl
Modifier and TypeFieldDescriptionPolylineSvgNodeRenderer.points
A List ofPoint
objects representing the path to be drawn by the polyline tagModifier 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
Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionprotected Point
AbstractPathShape.createPoint
(String coordX, String coordY) AbstractPathShape.getEndingPoint()
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()
Modifier and TypeMethodDescriptionAbstractPathShape.getPathShapeRectangle
(Point lastPoint) Get bounding rectangle of the current path shape.CurveTo.getPathShapeRectangle
(Point lastPoint) EllipticalCurveTo.getPathShapeRectangle
(Point lastPoint) QuadraticCurveTo.getPathShapeRectangle
(Point lastPoint) void
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) -
Uses of Point in com.itextpdf.svg.utils
Modifier and TypeMethodDescriptionTextRectangle.getTextBaseLineRightPoint()
Return the far right point of the rectangle with y on the baseline.