PagePattern class

Copyright © 2018-2024 PSPDFKit GmbH. All rights reserved.

THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. This notice may not be removed from this file.

PDF page from page pattern or a pattern tiled document page.

Constructors

PagePattern.fromDocument(Uri patternDocumentUri, int pageIndex)
Pattern from a pattern tiled PDF document. patternDocumentUri is the path to the document. pageIndex is the page index of the document. used only on iOS.
factory

Properties

documentUri Uri?
final
hashCode int
The hash code for this object.
no setterinherited
pageIndex int
final
pattern String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

blank PagePattern
No pattern, empty page.
no setter
dots5mm PagePattern
Dots with 5mm pitch.
no setter
grid5mm PagePattern
Grid with 5mm squares.
no setter
line5mm PagePattern
Lines with 5mm of spacing.
no setter
line7mm PagePattern
Lines with 7mm of spacing.
no setter