PageViewport: { clone: any; convertToPdfPoint: any; convertToViewportPoint: any; convertToViewportRectangle: any; height: number; offsetX: number; offsetY: number; rotation: number; scale: number; transform: number[]; viewBox: number[]; width: number }
Type declaration
-
clone:function
-
convertToPdfPoint:function
- convertToPdfPoint(x: any, y: any): number[]
-
Returns number[]
-
convertToViewportPoint:function
- convertToViewportPoint(x: number, y: number): number[]
-
Returns number[]
-
convertToViewportRectangle:function
- convertToViewportRectangle(rect: number[]): number[]
-
Returns number[]
-
height: number
-
offsetX: number
-
offsetY: number
-
rotation: number
-
scale: number
-
transform: number[]
-
viewBox: number[]
-
width: number
PDF page viewport created based on scale, rotation and offset.