CircleAnnotation

constructor(@IntRange(from = 0) pageIndex: Int, rect: RectF)

Creates a new circle annotation.

Parameters

pageIndex

Page to which this annotation will be attached to.

rect

Bounding rectangle for this circle.


constructor(@IntRange(from = 0) pageIndex: Int, rect: RectF, scale: Scale, precision: MeasurementPrecision)

Creates a measurement elliptical area annotation. Will throw an exception if Measurement Tools are not licensed.

Parameters

pageIndex

Page to which this annotation will be attached to.

rect

Bounding rectangle for this circle.

scale

Measurement com.pspdfkit.annotations.measurements.Scale for the annotation.

precision

Measurement MeasurementPrecision for the annotation.