PdfImagePage 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.

Constructors

PdfImagePage({required Uri imageUri, required PagePosition position, required PageZOrder zOrder, int quality = 98, int rotation = 0})
PdfImagePage.fromPath(String filePath, PagePosition positionRect)
factory
PdfImagePage.fromUri(Uri fileUri, PagePosition positionRect)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
imageUri Uri
Image from URI */
final
position PagePosition
Image position, either gravity or actual rect */
final
quality int
Image compression quality
final
rotation int
Page rotation in degrees, ranges form -270 to 270*/
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zOrder PageZOrder
final

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