| Package | Description |
|---|---|
| rst.pdfbox.layout.elements | |
| rst.pdfbox.layout.elements.render |
| Modifier and Type | Class and Description |
|---|---|
class |
Cutter
A cutter transforms any Drawable element into a
Dividable. |
class |
Frame
The frame is a container for a
Drawable, that allows to add margin,
padding, border and background to the contained drawable. |
class |
HorizontalRuler
A horizontal ruler that adjust its width to the given
max width. |
class |
ImageElement |
class |
Paragraph
A paragraph is used as a container for
text that is drawn as
one element. |
class |
VerticalSpacer
A drawable element that occupies some vertical space without any graphical
representation.
|
| Modifier and Type | Method and Description |
|---|---|
Drawable |
Dividable.Divided.getFirst() |
Drawable |
Dividable.Divided.getTail() |
Drawable |
Cutter.removeLeadingEmptyVerticalSpace() |
Drawable |
Drawable.removeLeadingEmptyVerticalSpace() |
Drawable |
Frame.removeLeadingEmptyVerticalSpace() |
Drawable |
HorizontalRuler.removeLeadingEmptyVerticalSpace() |
Drawable |
ImageElement.removeLeadingEmptyVerticalSpace() |
Drawable |
VerticalSpacer.removeLeadingEmptyVerticalSpace() |
| Constructor and Description |
|---|
Cutter(Drawable undividableElement) |
Cutter(Drawable undividable,
float viewPortY,
float viewPortHeight) |
Divided(Drawable first,
Drawable tail) |
Frame(Drawable inner)
Creates a frame containing the inner element.
|
Frame(Drawable inner,
Float width,
Float height)
Creates a frame containing the inner element, optionally constraint by
the given dimensions.
|
| Modifier and Type | Method and Description |
|---|---|
protected Drawable |
VerticalLayout.removeLeadingEmptyVerticalSpace(Drawable drawable,
RenderContext renderContext)
Removes empty space (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
VerticalLayout.drawReletivePartAndMovePosition(RenderContext renderContext,
Drawable drawable,
LayoutHint layoutHint,
boolean movePosition)
Actually draws the (drawble) part at the
RenderContext.getCurrentPosition() and - depending on flag
movePosition - moves to the new Y position. |
protected void |
VerticalLayout.layoutAndDrawReleative(RenderContext renderContext,
Drawable drawable,
LayoutHint layoutHint)
Adjusts the width of the drawable (if it is
WidthRespecting), and
divides it onto multiple pages if necessary. |
protected Drawable |
VerticalLayout.removeLeadingEmptyVerticalSpace(Drawable drawable,
RenderContext renderContext)
Removes empty space (e.g.
|
void |
ColumnLayout.render(RenderContext renderContext,
Drawable drawable,
LayoutHint layoutHint) |
void |
VerticalLayout.render(RenderContext renderContext,
Drawable drawable,
LayoutHint layoutHint) |
protected void |
VerticalLayout.renderAbsolute(RenderContext renderContext,
Drawable drawable,
LayoutHint layoutHint,
Position position)
Draws at the given position, ignoring all layouting rules.
|
protected void |
VerticalLayout.renderReleative(RenderContext renderContext,
Drawable drawable,
LayoutHint layoutHint)
Renders the drawable at the
current position. |
Copyright © 2022. All rights reserved.