Modifier and Type | Method and Description |
---|---|
protected static Point[] |
AbstractLinearGradientBuilder.createCoordinatesForNewDomain(double[] newDomain, Point[] baseVector)
Expand the base vector to cover the new domain
|
protected Point[] |
StrategyBasedLinearGradientBuilder.getGradientVector(Rectangle targetBoundingBox, AffineTransform contextTransform) |
protected abstract Point[] |
AbstractLinearGradientBuilder.getGradientVector(Rectangle targetBoundingBox, AffineTransform contextTransform)
Returns the base gradient vector in gradient vector space.
|
Point[] |
LinearGradientBuilder.getGradientVector(Rectangle targetBoundingBox, AffineTransform contextTransform) |
Modifier and Type | Method and Description |
---|---|
protected static Point[] |
AbstractLinearGradientBuilder.createCoordinatesForNewDomain(double[] newDomain, Point[] baseVector)
Expand the base vector to cover the new domain
|
protected static double[] |
AbstractLinearGradientBuilder.evaluateCoveringDomain(Point[] coords, Rectangle toCover)
Evaluates the minimal domain that covers the box with vector normals.
|
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[] |
Rectangle.toPointsArray()
Convert rectangle to an array of points
|
Point |
AffineTransform.transform(Point src, Point dst) |
Modifier and Type | Method and Description |
---|---|
List<Point> |
IShape.getBasePoints()
Treat base points as the points which are enough to construct a shape.
|
List<Point> |
Line.getBasePoints() |
List<Point> |
BezierCurve.getBasePoints()
Treat base points as the points which are enough to construct a shape.
|
List<Point> |
BezierCurve.getPiecewiseLinearApproximation()
You can adjust precision of the approximation by varying the following parameters: BezierCurve.curveCollinearityEpsilon , BezierCurve.distanceToleranceSquare , BezierCurve.distanceToleranceManhattan .
|
List<Point> |
Subpath.getPiecewiseLinearApproximation() |
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) |
Modifier and Type | Method and Description |
---|---|
static Rectangle |
Rectangle.calculateBBox(List<Point> points)
Calculates the bounding box of passed points.
|
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 boolean |
ClipperBridge.addPolygonToClipper(IClipper clipper, Point[] polyVertices, IClipper.PolyType polyType)
Adds polygon path based on array of Point (internally converting them by ClipperBridge.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 of Point (internally converting them by ClipperBridge.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).
|
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 |
---|---|
Point |
BackgroundRepeat.prepareRectangleToDrawingAndGetWhitespace(Rectangle imageRectangle, Rectangle backgroundArea, BackgroundSize backgroundSize)
Prepares the image rectangle for drawing.
|
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) |
Modifier and Type | Field and Description |
---|---|
protected List<Point> |
PolylineSvgNodeRenderer.points
A List of Point objects representing the path to be drawn by the polyline tag
|
Modifier and Type | Method and Description |
---|---|
protected List<Point> |
PolylineSvgNodeRenderer.getPoints() |
Modifier and Type | Method and Description |
---|---|
TextRectangle |
ISvgTextNodeHelper.getTextRectangle(SvgDrawContext context, Point basePoint)
Deprecated.
Return the bounding rectangle of the text element.
|
TextRectangle |
TextLeafSvgNodeRenderer.getTextRectangle(SvgDrawContext context, Point basePoint) |
TextRectangle |
TextSvgBranchRenderer.getTextRectangle(SvgDrawContext context, Point basePoint) |
Modifier and Type | Method and Description |
---|---|
Point |
IPathShape.getEndingPoint()
Gets the ending point on the canvas after the path shape has been drawn via the IPathShape.draw(PdfCanvas) method, in SVG space coordinates.
|
Modifier and Type | Method and Description |
---|---|
void |
IPathShape.setCoordinates(String[] inputCoordinates, Point startPoint)
This method sets the coordinates for the path painting operator and does internal preprocessing, if necessary
|
Modifier and Type | Method and Description |
---|---|
protected Point |
AbstractPathShape.createPoint(String coordX, String coordY) |
Point |
AbstractPathShape.getEndingPoint() |
Point |
QuadraticCurveTo.getLastControlPoint() |
Point |
IControlPointCurve.getLastControlPoint()
Returns coordinates of the last control point (the one closest to the ending point) in the Bezier curve, in SVG space coordinates
|
Point |
CurveTo.getLastControlPoint() |
Modifier and Type | Method and Description |
---|---|
Rectangle |
AbstractPathShape.getPathShapeRectangle(Point lastPoint)
Get bounding rectangle of the current path shape.
|
Rectangle |
QuadraticCurveTo.getPathShapeRectangle(Point lastPoint) |
Rectangle |
EllipticalCurveTo.getPathShapeRectangle(Point lastPoint) |
Rectangle |
CurveTo.getPathShapeRectangle(Point lastPoint) |
void |
HorizontalLineTo.setCoordinates(String[] inputCoordinates, Point startPoint) |
void |
MoveTo.setCoordinates(String[] inputCoordinates, Point startPoint) |
void |
QuadraticCurveTo.setCoordinates(String[] inputCoordinates, Point startPoint) |
void |
LineTo.setCoordinates(String[] inputCoordinates, Point startPoint) |
void |
EllipticalCurveTo.setCoordinates(String[] inputCoordinates, Point previous) |
void |
VerticalLineTo.setCoordinates(String[] inputCoordinates, Point startPoint) |
void |
CurveTo.setCoordinates(String[] inputCoordinates, Point startPoint) |
Modifier and Type | Method and Description |
---|---|
Point |
TextRectangle.getTextBaseLineRightPoint()
Return the far right point of the rectangle with y on the baseline.
|
Copyright © 1998–2023 iText Group NV. All rights reserved.