java.lang.Object | |
↳ | com.pspdfkit.document.processor.PagePattern |
Tiling pattern for a new page.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final PagePattern | BLANK | No pattern, empty page. | |||||||||
public static final PagePattern | DOTS_5MM | Dots with 5mm pitch. | |||||||||
public static final PagePattern | GRID_5MM | Grid with 5mm squares. | |||||||||
public static final PagePattern | LINES_5MM | Lines with 5mm of spacing. | |||||||||
public static final PagePattern | LINES_7MM | Lines with 7mm of spacing. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PagePattern(DataProvider dataProvider)
Constructs a page pattern from PDF data served by
DataProvider . | |||||||||||
PagePattern(Uri fileUri)
Constructs a page pattern from PDF data served from file content provider URI.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs a page pattern from PDF data served by DataProvider
.
First pattern in the source PDF will be used. If the PDF does not define any patterns,
PdfProcessor
will fail with an error.
dataProvider | Provider for PDF data that should be used as page pattern. |
---|
Constructs a page pattern from PDF data served from file content provider URI.
First pattern in the source PDF will be used. If the PDF does not define any patterns,
PdfProcessor
will fail with an error.
fileUri | A content provider URI with supported scheme (content:// or file:// ).
|
---|