| Modifier and Type | Method and Description |
|---|---|
Point |
Point.distanceTransform(Matrix arg0)
Distance Transform the Point Object by the values in the Matrix parameter, which is a transformation without any translation.
|
Point |
Text.getAdvanceForCharacter(int characterIndex)
Gets the advance width of a character, in user space.
|
Point |
Text.getAdvanceForTextRun(int textRunIndex)
Gets the advance width of a TextRun, in user space.
|
Point |
Quad.getBottomLeft()
Bottom left corner of the Quad.
|
Point |
Quad.getBottomRight()
Bottom right corner of the Quad.
|
Point |
LineAnnotation.getEndPoint()
The ending coordinate of the line, in user space.
|
Point |
LineTo.getPoint()
The new current point.
|
Point |
MoveTo.getPoint()
The new current point.
|
Point |
RectSegment.getPoint()
The lower left corner of the rectangle.
|
Point |
CurveTo.getPoint1()
The first control point.
|
Point |
CurveToY.getPoint1()
The first control point.
|
Point |
CurveTo.getPoint2()
The second control point.
|
Point |
CurveToV.getPoint2()
The second control point.
|
Point |
CurveTo.getPoint3()
The new current point.
|
Point |
CurveToV.getPoint3()
The new current point.
|
Point |
CurveToY.getPoint3()
The new current point.
|
Point |
LineAnnotation.getStartPoint()
The starting coordinate of the line, in user space.
|
Point |
Quad.getTopLeft()
Top left corner of the Quad.
|
Point |
Quad.getTopRight()
Top right corner of the Quad.
|
Point |
Point.transform(Matrix arg0)
Transform the Point Object by the values in the Matrix parameter.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Point> |
AxialShadingPattern.getCoords()
The coordinates of the two endpoints of the axial shading.
|
java.util.List<Point> |
InkAnnotation.getScribble(int index) |
java.util.List<Point> |
PolygonAnnotation.getVertices() |
java.util.List<Point> |
PolyLineAnnotation.getVertices() |
| Modifier and Type | Method and Description |
|---|---|
void |
Path.addCurve(Point Point1,
Point Point2,
Point Point3)
Adds a Bezier curve from the current path using the first two points specified as Bezier control points ending at the third point.
|
void |
Path.addCurveV(Point Point1,
Point Point2)
Adds a Bezier curve from the current path.
|
void |
Path.addCurveY(Point Point1,
Point Point2)
Adds a Bezier curve from the current path.
|
void |
Path.addLine(Point Point)
Adds a line to the current path from the current path position.
|
void |
Path.addRect(Point Point,
double Width,
double Height)
Adds a rectangle to the current path with the lower left corner at the give point, and with the width and height specified.
|
LinkAnnotation |
LinkAnnotation.copyTo(Page destination,
Point centerPoint)
Copy a LinkAnnotation to the specified page and center the annotation on the specified point.
|
void |
Path.moveTo(Point Point)
Moves the current point of the path to the given point.
|
boolean |
Text.pointIntersectsCharacter(Point p,
int index)
Tests whether a point is on a specified character within this Text object.
|
boolean |
Text.pointIntersectsTextRun(Point p,
int index)
Tests whether a point is on a specified TextRun within this Text object.
|
void |
LineAnnotation.setEndPoint(Point endPoint)
The ending coordinate of the line, in user space.
|
void |
LineTo.setPoint(Point value)
The new current point.
|
void |
MoveTo.setPoint(Point value)
The new current point.
|
void |
RectSegment.setPoint(Point value)
The lower left corner of the rectangle.
|
void |
CurveTo.setPoint1(Point value)
The first control point.
|
void |
CurveToY.setPoint1(Point value)
The first control point.
|
void |
CurveTo.setPoint2(Point value)
The second control point.
|
void |
CurveToV.setPoint2(Point value)
The second control point.
|
void |
CurveTo.setPoint3(Point value)
The new current point.
|
void |
CurveToV.setPoint3(Point value)
The new current point.
|
void |
CurveToY.setPoint3(Point value)
The new current point.
|
void |
LineAnnotation.setStartPoint(Point startPoint)
The starting coordinate of the line, in user space.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InkAnnotation.addScribble(java.util.List<Point> scribble)
The vertices that define one of many scribbles in an ink annotation, in user space.
|
void |
AxialShadingPattern.setCoords(java.util.List<Point> coords)
The coordinates of the two endpoints of the axial shading.
|
void |
PolygonAnnotation.setVertices(java.util.List<Point> vertices)
The vertices that define the polygon annotation, in user space.
|
void |
PolyLineAnnotation.setVertices(java.util.List<Point> vertices)
The vertices that define the polyline annotation, in user space.
|
| Constructor and Description |
|---|
CurveTo(Point point1,
Point point2,
Point point3)
Append a cubic Bézier curve to the current path. The curve extends from the current point to point3, using point1 and point2 as the Bézier control points. The new current point is point3.
|
CurveToV(Point point2,
Point point3)
Append a cubic Bézier curve to the current path. The curve extends from the current point to point3, using the current point and point2 as the Bézier control points. The new current point is point3.
|
CurveToY(Point point1,
Point point3)
Append a cubic Bézier curve to the current path. The curve extends from the current point to point3, using point1 and point3 as the Bézier control points. The new current point is point3.
|
LineAnnotation(Page page,
Rect initialRect,
Point startPoint,
Point endPoint)
Create a new LineAnnotation at the end of a page's annotation array.
|
LineAnnotation(Page page,
Rect initialRect,
Point startPoint,
Point endPoint,
int addAfter)
Create a new LineAnnotation at a specific index in the page's annotation array.
|
LineTo(Point lineToPoint)
Create a line to a new point. Append a straight line segment from the current point to the lineToPoint. The new current point is the point the line is drawn to.
|
MoveTo(Point newCurrentPoint)
Move to a new current point. Begin a new subpath by moving the current point to a new point, omitting any connecting line segment. If the previous path segment in the current path was also a MoveTo, the new m overrides it; no vestige of the previous MoveTo operation remains in the path.
|
Quad(Point nTopLeft,
Point nTopRight,
Point nBottomLeft,
Point nBottomRight)
Creates a Quad from a set of 4 points.
|
RectSegment(Point point,
double width,
double height)
Append a rectangle to the current path as a complete subpath, with lower-left corner point and dimensions width and height in user space.
|
| Constructor and Description |
|---|
AxialShadingPattern(ColorSpace colorSpace,
java.util.List<Point> coords,
java.util.List<Function> function)
Create an AxialShadingPattern.
|
PolygonAnnotation(Page page,
Rect initialRect,
java.util.List<Point> vertices)
Create a new PolygonAnnotation at the end of a page's annotation array.
|
PolygonAnnotation(Page page,
Rect initialRect,
java.util.List<Point> vertices,
int addAfter)
Create a new PolygonAnnotation at a specific index in the page's annotation array.
|
PolyLineAnnotation(Page page,
Rect initialRect,
java.util.List<Point> vertices)
Create a new PolyLineAnnotation at the end of a page's annotation array.
|
PolyLineAnnotation(Page page,
Rect initialRect,
java.util.List<Point> vertices,
int addAfter)
Create a new PolyLineAnnotation at a specific index in the page's annotation array.
|