setPoints

open fun setPoints(@NonNull point1: PointF, @NonNull point2: PointF)

Sets a starting and ending point of the line in PDF coordinates.

Parameters

point1

Starting point of the line in PDF coordinates.

point2

End point of the line in PDF coordinates.