java.lang.Object | |
↳ | com.pspdfkit.annotations.measurements.MeasurementInfo |
Measurement info object contains all the measurement information available in a measurement annotation.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public final String | label | The label containing the rounded measurement value and unit used to display on the PDF. | |||||||||
public final MeasurementMode | measurementMode | The type MeasurementMode of measurement. |
|||||||||
public final FloatPrecision | precision | The FloatPrecision used for this measurement. |
|||||||||
public final Scale | scale | The Scale used for this measurement. |
|||||||||
public final float | value | The un-rounded measurement value. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MeasurementInfo(Scale scale, FloatPrecision precision, MeasurementMode mode, float value, String label)
Creates an instance of a `MeasurementInfo` object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object other) | ||||||||||
int | hashCode() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The label containing the rounded measurement value and unit used to display on the PDF.
This can be null
if the annotation `Contents` (getContents()
) have not been set correctly.
Creates an instance of a `MeasurementInfo` object.