getMeasurementLabelValue

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.

Return

The calculated measurement value and label, or null if it's not a measurement.

Parameters

measurementProperties

the properties for this measurement. Including Scale and MeasurementPrecision.