Square Annotation
Creates a new square annotation.
Parameters
page Index
Page to which this annotation will be attached to.
rect
Bounding rectangle for this square.
constructor(@IntRange(from = 0 ) pageIndex: Int, @NonNull rect: RectF, @NonNull scale: Scale, @NonNull precision: MeasurementPrecision)
Creates a measurement rectangular area annotation. Will throw an exception if Measurement Tools are not licensed.
Parameters
page Index
Page to which this annotation will be attached to.
rect
Bounding rectangle for this square.
scale
Measurement com.pspdfkit.annotations.measurements.Scale for the annotation.
precision
Measurement MeasurementPrecision for the annotation.
Intended for internal usage only