MeasurementInfo

Measurement info object contains all the measurement information available in a measurement annotation.

Constructors

Link copied to clipboard
constructor(@NonNull scale: Scale, @NonNull precision: MeasurementPrecision, @NonNull mode: MeasurementMode, value: Float, @Nullable label: String)
Creates an instance of a `MeasurementInfo` object.

Properties

Link copied to clipboard
The label containing the rounded measurement value and unit used to display on the PDF.
Link copied to clipboard
Link copied to clipboard
The MeasurementPrecision used for this measurement.
Link copied to clipboard
The Scale used for this measurement.
Link copied to clipboard
The un-rounded measurement value.

Functions

Link copied to clipboard
open fun equals(other: Any): Boolean
Compares this measurement info with another object for equality.
Link copied to clipboard
Returns the measurement precision used for this measurement.
Link copied to clipboard
open fun getScale(): Scale
Returns the measurement scale used for this measurement.
Link copied to clipboard
open fun hashCode(): Int
Returns a hash code value for this measurement info based on all its properties.