Maps unrotated crop-space points into the clockwise /Rotate view.
/Rotate turns the page 90° at a time. It does not rewrite PdfBox or
reflow content into the other orientation. PdfPageInfo.width is only the
size of the view after that turn.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromView(
PdfPageInfo page, double x, double y) → ({double x, double y}) - Inverse of toView. Hit-testing uses this before content coordinates.
-
normalizeQuarter(
int degrees) → int - Clockwise quarter-turns only. Other values are rejected.
-
toView(
PdfPageInfo page, double x, double y) → ({double x, double y}) -
Content point
(x, y)(top-left of the unrotated crop) in view space.