Package | Description |
---|---|
com.itextpdf.kernel.geom | |
com.itextpdf.kernel.pdf.canvas.parser.clipper | |
com.itextpdf.kernel.pdf.canvas.wmf | |
com.itextpdf.layout.border | |
com.itextpdf.layout.renderer |
Modifier and Type | Method and Description |
---|---|
Point |
AffineTransform.deltaTransform(Point src, Point dst) |
Point |
Path.getCurrentPoint()
The current point is the trailing endpoint of the segment most recently added to the current path.
|
Point |
Subpath.getLastPoint() |
Point |
Point.getLocation() |
Point |
Subpath.getStartPoint() |
Point |
AffineTransform.inverseTransform(Point src, Point dst) |
Point |
AffineTransform.transform(Point src, Point dst) |
Modifier and Type | Method and Description |
---|---|
List<Point> |
Line.getBasePoints() |
List<Point> |
IShape.getBasePoints()
Treat base points as the points which are enough to construct a shape.
|
List<Point> |
BezierCurve.getBasePoints()
Treat base points as the points which are enough to construct a shape.
|
List<Point> |
Subpath.getPiecewiseLinearApproximation() |
List<Point> |
BezierCurve.getPiecewiseLinearApproximation()
You can adjust precision of the approximation by varying the following parameters: BezierCurve.curveCollinearityEpsilon , BezierCurve.distanceToleranceSquare , BezierCurve.distanceToleranceManhattan
|
Modifier and Type | Method and Description |
---|---|
Point |
AffineTransform.deltaTransform(Point src, Point dst) |
double |
Point.distance(Point p) |
double |
Point.distanceSq(Point p) |
Point |
AffineTransform.inverseTransform(Point src, Point dst) |
void |
Point.setLocation(Point p) |
void |
Subpath.setStartPoint(Point startPoint)
Sets the start point of the subpath.
|
void |
AffineTransform.transform(Point[] src, int srcOff, Point[] dst, int dstOff, int length) |
void |
AffineTransform.transform(Point[] src, int srcOff, Point[] dst, int dstOff, int length) |
Point |
AffineTransform.transform(Point src, Point dst) |
Constructor and Description |
---|
Line(Point p1, Point p2)
Constructs a new line based on the given coordinates.
|
Point(Point p) |
Subpath(Point startPoint)
Constructs a new subpath starting at the given point.
|
Constructor and Description |
---|
BezierCurve(List<Point> controlPoints)
Constructs new bezier curve.
|
Modifier and Type | Method and Description |
---|---|
static List<Point> |
ClipperBridge.convertToFloatPoints(List<Point.LongPoint> points)
Converts list of Point.LongPoint objects into list of Point objects.
|
Modifier and Type | Method and Description |
---|---|
static void |
ClipperBridge.addRectToClipper(IClipper clipper, Point[] rectVertices, IClipper.PolyType polyType) |
Modifier and Type | Method and Description |
---|---|
static List<Point.LongPoint> |
ClipperBridge.convertToLongPoints(List<Point> points)
Converts list of Point objects into list of Point.LongPoint objects.
|
Modifier and Type | Field and Description |
---|---|
Point |
MetaState.currentPoint
Current Point.
|
Modifier and Type | Method and Description |
---|---|
Point |
MetaState.getCurrentPoint()
Returns the current Point.
|
Modifier and Type | Method and Description |
---|---|
void |
MetaState.setCurrentPoint(Point p)
Sets the current Point to the specified Point.
|
Modifier and Type | Method and Description |
---|---|
protected Point |
Border.getIntersectionPoint(Point lineBeg, Point lineEnd, Point clipLineBeg, Point clipLineEnd) |
Modifier and Type | Method and Description |
---|---|
protected Point |
Border.getIntersectionPoint(Point lineBeg, Point lineEnd, Point clipLineBeg, Point clipLineEnd) |
Modifier and Type | Method and Description |
---|---|
protected List<Point> |
AbstractRenderer.rectangleToPointsList(Rectangle rect) |
protected List<Point> |
AbstractRenderer.transformPoints(List<Point> points, AffineTransform transform) |
Modifier and Type | Method and Description |
---|---|
protected 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.
|
protected List<Point> |
AbstractRenderer.transformPoints(List<Point> points, AffineTransform transform) |
Copyright © 1998–2018 iText Group NV. All rights reserved.