Builder

open class Builder

Builder for NewPage objects.

Functions

Link copied to clipboard
open fun backgroundColor(@ColorInt backgroundColor: Int): NewPage.Builder
Sets background color for the page.
Link copied to clipboard
open fun build(): NewPage
Creates a NewPage object.
Link copied to clipboard
open fun rotation(rotation: Int): NewPage.Builder
Rotates the page.
Link copied to clipboard
Sets page margins in PDF points.
Link copied to clipboard
Merges content of canvas drawing to this page.
Adds an image to this page.
Merges content of another PDF page to this page.