PdfRect class final

A bounding rectangle in PDF page coordinates.

PDFium uses a bottom-left page origin, so bottom < top in typical usage. Coordinates are in PDF user space units (points).

Callers that need screen coordinates must apply FPDF_PageToDevice() / FPDF_DeviceToPage() themselves; this library exposes raw PDF coordinates.

Constructors

PdfRect({required double left, required double bottom, required double right, required double top})
Creates a PdfRect from PDF page coordinates.
const

Properties

bottom double
Bottom edge in PDF user space (lower y value for bottom-left origin).
final
hashCode int
The hash code for this object.
no setteroverride
left double
Left edge in PDF user space (lower x value).
final
Right edge in PDF user space (higher x value).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top double
Top edge in PDF user space (higher y value for bottom-left origin).
final

Methods

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

Operators

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