Scale
class Scale
A ratio of the size of an object as displayed on a document page to the size of a corresponding real-world object. Scale objects are used for measurement annotations. This class is immutable - you must create a new Scale object if you want to change any of the members.
Constructors
Link copied to clipboard
constructor(@FloatRange(from = MeasurementToolsConstants.minimumScaleValue ) valueFrom: Float, @NonNull unitFrom: Scale.UnitFrom, @FloatRange(from = MeasurementToolsConstants.minimumScaleValue ) valueTo: Float, @NonNull unitTo: Scale.UnitTo)
Creates an instance of a measurement Scale object.