PdfQuadPoints class final

A set of four corner points defining one quadrilateral region.

Used for text markup annotations (highlight, underline, squiggly, strikeout) to describe the precise area of marked-up text, which may not be axis-aligned. Points are ordered: top-left, top-right, bottom-left, bottom-right (following the PDF specification quad-point ordering).

Constructors

PdfQuadPoints({required PdfPoint p1, required PdfPoint p2, required PdfPoint p3, required PdfPoint p4})
Creates a PdfQuadPoints from its four corner points.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
p1 PdfPoint
First point (top-left of the quadrilateral).
final
p2 PdfPoint
Second point (top-right of the quadrilateral).
final
p3 PdfPoint
Third point (bottom-left of the quadrilateral).
final
p4 PdfPoint
Fourth point (bottom-right of the quadrilateral).
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
toString() String
A string representation of this object.
override

Operators

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