createCalibrationLineAnnotation

open fun createCalibrationLineAnnotation(@IntRange(from = 0) pageIndex: Int, @NonNull point1: PointF, @NonNull point2: PointF): LineAnnotation

Creates a new LineAnnotation with the `isCalibration` flag set to true. Internal use only

Parameters

pageIndex

Page to which this annotation will be attached to.

point1

Starting point of the line in PDF coordinates.

point2

End point of the line in PDF coordinates.