toRawPoint

abstract fun toRawPoint(@NonNull point: PointF, @IntRange(from = 0) pageIndex: Int): PointF

Maps a normalized PDF point to a raw PDF point. Converts the coordinates stored within point from the normalized PDF coordinate space of the given pageIndex to the raw PDF coordinate space (of the same page). This method modifies point in place.

Parameters

point

Point in normalized PDF coordinates on the given pageIndex that should be converted to raw PDF coordinates of the same page.

pageIndex

Target page for the conversion (0 denotes the first page).

Throws

If the specified page doesn't exist.