MeasurementScaleView

This view is used as a FAB of a sort to set/show the measurement scale

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, defStyleAttr: Int)

Functions

Link copied to clipboard
Binds to the annotation creation controller and animates the measurement scale view into view
Link copied to clipboard
Shows the button used to show the set scale or open the scale inspector
Link copied to clipboard
open fun unbindController()
Unbinds from annotation creation controller.
Link copied to clipboard
open fun updateScaleLabel(text: String, isScaleSet: Boolean)
Sets the text in the scale text view and toggles the visibility of the scale not set icon