PdfPoint class

PDF page coordinates point.

In Pdf page coordinates, the origin is at the bottom-left corner and Y-axis is pointing upward. The unit is normally in points (1/72 inch).

Constructors

PdfPoint(double x, double y)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
X coordinate.
final
y double
Y coordinate.
final

Methods

differenceTo(PdfPoint other) → Vector2
Calculate the vector to another point.
distanceSquaredTo(PdfPoint other) double
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rotate(int rotation, PdfPage page) PdfPoint
Rotate the point.
rotateReverse(int rotation, PdfPage page) PdfPoint
Rotate the point in reverse direction.
toString() String
A string representation of this object.
override
translate(double dx, double dy) PdfPoint
Translate the point.

Operators

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