| Package | Description |
|---|---|
| rst.pdfbox.layout.elements | |
| rst.pdfbox.layout.elements.render | |
| rst.pdfbox.layout.shape | |
| rst.pdfbox.layout.text | |
| rst.pdfbox.layout.text.annotations | |
| rst.pdfbox.layout.util |
| Modifier and Type | Method and Description |
|---|---|
Position |
Cutter.getAbsolutePosition() |
Position |
Drawable.getAbsolutePosition()
If an absolute position is given, the drawable will be drawn at this
position ignoring any
Layout. |
Position |
Frame.getAbsolutePosition() |
Position |
HorizontalRuler.getAbsolutePosition() |
Position |
ImageElement.getAbsolutePosition() |
Position |
Paragraph.getAbsolutePosition() |
Position |
VerticalSpacer.getAbsolutePosition() |
| Modifier and Type | Method and Description |
|---|---|
void |
Cutter.draw(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
DrawListener drawListener) |
void |
Drawable.draw(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
DrawListener drawListener)
Draws the object at the given position.
|
void |
Frame.draw(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
DrawListener drawListener) |
void |
HorizontalRuler.draw(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
DrawListener drawListener) |
void |
ImageElement.draw(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
DrawListener drawListener) |
void |
Paragraph.draw(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
DrawListener drawListener) |
void |
VerticalSpacer.draw(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
DrawListener drawListener) |
void |
Frame.setAbsolutePosition(Position absolutePosition)
Sets th absolute position.
|
void |
ImageElement.setAbsolutePosition(Position absolutePosition)
Sets the absolute position to render at.
|
void |
Paragraph.setAbsolutePosition(Position absolutePosition)
Sets the absolute position to render at.
|
| Modifier and Type | Method and Description |
|---|---|
Position |
RenderContext.getCurrentPosition() |
Position |
RenderContext.getLowerRight() |
Position |
RenderContext.getMarkedPosition() |
protected Position |
RenderContext.getMaxPositionOnPage() |
Position |
RenderContext.getUpperLeft() |
| Modifier and Type | Method and Description |
|---|---|
void |
RenderContext.drawn(Object drawnObject,
Position upperLeft,
float width,
float height) |
protected void |
VerticalLayout.renderAbsolute(RenderContext renderContext,
Drawable drawable,
LayoutHint layoutHint,
Position position)
Draws at the given position, ignoring all layouting rules.
|
protected void |
RenderContext.setMarkedPosition(Position markedPosition) |
protected void |
RenderContext.updateMaxPositionOnPage(Position upperLeft,
float width,
float height)
Updates the maximum right resp.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Rect.add(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
float width,
float height) |
void |
RoundRect.add(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
float width,
float height) |
void |
Shape.add(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
float width,
float height)
Adds (the path of) the shape without drawing anything.
|
protected void |
Ellipse.addRoundRect(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
float width,
float height,
float cornerRadiusX,
float cornerRadiusY) |
protected void |
RoundRect.addRoundRect(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
float width,
float height,
float cornerRadiusX,
float cornerRadiusY)
create points clockwise starting in upper left corner
|
void |
AbstractShape.draw(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
float width,
float height,
Color color,
Stroke stroke,
DrawListener drawListener) |
void |
Shape.draw(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
float width,
float height,
Color color,
Stroke stroke,
DrawListener drawListener)
Draws (strokes) the shape.
|
void |
AbstractShape.fill(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
float width,
float height,
Color color,
DrawListener drawListener) |
void |
Shape.fill(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
float width,
float height,
Color color,
DrawListener drawListener)
Fills the shape.
|
| Modifier and Type | Method and Description |
|---|---|
Position |
Position.add(float x,
float y)
Adds an offset to the current position and returns it as a new position.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TextLine.drawAligned(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
Alignment alignment,
float availableLineWidth,
DrawListener drawListener) |
void |
DrawListener.drawn(Object drawnObject,
Position upperLeft,
float width,
float height)
Indicates that an object has been drawn.
|
void |
DrawableText.drawText(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
Alignment alignment,
DrawListener drawListener)
Draws the text of the (PdfBox-) cursor position.
|
void |
TextFlow.drawText(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
Alignment alignment,
DrawListener drawListener) |
void |
TextLine.drawText(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
Alignment alignment,
DrawListener drawListener) |
static void |
TextSequenceUtil.drawText(TextSequence text,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
DrawListener drawListener,
Alignment alignment,
float maxWidth,
float lineSpacing,
boolean applyLineSpacingToFirstLine)
Draws the given text sequence to the PDPageContentStream at the given
position.
|
void |
TextFlow.drawTextRightAligned(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position endOfFirstLine,
DrawListener drawListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationProcessor.annotatedObjectDrawn(Annotated drawnObject,
DrawContext drawContext,
Position upperLeft,
float width,
float height)
Called if an annotated object has been drawn.
|
void |
HyperlinkAnnotationProcessor.annotatedObjectDrawn(Annotated drawnObject,
DrawContext drawContext,
Position upperLeft,
float width,
float height) |
void |
UnderlineAnnotationProcessor.annotatedObjectDrawn(Annotated drawnObject,
DrawContext drawContext,
Position upperLeft,
float width,
float height) |
void |
AnnotationDrawListener.drawn(Object drawnObject,
Position upperLeft,
float width,
float height) |
protected void |
HyperlinkAnnotationProcessor.handleAnchorAnnotations(AnnotatedStyledText annotatedText,
DrawContext drawContext,
Position upperLeft) |
protected void |
HyperlinkAnnotationProcessor.handleHyperlinkAnnotations(AnnotatedStyledText annotatedText,
DrawContext drawContext,
Position upperLeft,
float width,
float height) |
| Modifier and Type | Method and Description |
|---|---|
static void |
CompatibilityHelper.drawImage(BufferedImage image,
org.apache.pdfbox.pdmodel.PDDocument document,
org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
float width,
float height) |
Copyright © 2021. All rights reserved.