public interface Dividable
Dividable, it can be (vertically) divided
in case it does not fit on the (remaining) page.| Modifier and Type | Interface and Description |
|---|---|
static class |
Dividable.Divided
A container for the result of a
divide(float, float)
operation. |
| Modifier and Type | Method and Description |
|---|---|
Dividable.Divided |
divide(float remainingHeight,
float nextPageHeight)
Divides the drawable vetically into pieces where the first part is to
respect the given remaining height.
|
Dividable.Divided divide(float remainingHeight, float nextPageHeight) throws IOException
remainingHeight - the remaining height on the page dictating the height of the
first part.nextPageHeight - the height of the next page allows to make better decisions on
how to divide best, e.g. maybe the element fits completely on
the next page.IOException - by pdfbox.Copyright © 2022. All rights reserved.