Square Annotation
Represents a square rendered on the page.
Constructors
Link copied to clipboard
Creates a new square annotation.
constructor(@IntRange(from = 0 ) pageIndex: Int, rect: RectF, scale: Scale, precision: MeasurementPrecision)
Creates a measurement rectangular area annotation. Will throw an exception if Measurement Tools are not licensed.
Functions
Link copied to clipboard
Gets a copy of this annotation with the page index and object number reset.
Link copied to clipboard
open override fun getMeasurementLabelValue(measurementProperties: MeasurementProperties): MeasurementLabelValue?
Return the measurement label and value for this annotation if it is a measurement. Returns null if it's not a measurement. Overridden in child shape annotations who can be measurements. Calculates the measurement value based on the passed measurementProperties and shape size.