Annotation Creation Controller
Default controller given when entering annotation creation mode. Used to control annotation creation mode properties and actions.
Functions
Link copied to clipboard
abstract fun bindAnnotationInspectorController(@NonNull annotationInspectorController: AnnotationInspectorController)
Binds to the annotation inspector controller for managing annotation inspector.
Link copied to clipboard
abstract fun changeAnnotationCreationMode(@NonNull annotationTool: AnnotationTool, @NonNull annotationToolVariant: AnnotationToolVariant)
Starts an annotation creation mode with different annotation tool selected.
Link copied to clipboard
Displays/hides an annotation inspector for the measurement annotation types.
Link copied to clipboard
Returns annotation creation tool that is currently active.
Link copied to clipboard
Returns the variant of the annotation creation tool that is currently active.
Link copied to clipboard
Gets alpha set to the annotation creation mode.
Link copied to clipboard
Returns an annotation manager which you can use to register listeners from the controller.
Link copied to clipboard
Returns an annotation editing preferences.
Link copied to clipboard
Gets border style preset set to the annotation creation mode.
Link copied to clipboard
Returns an active configuration.
Link copied to clipboard
Gets fill color set to the annotation creation mode.
Link copied to clipboard
Returns current line ending styles for drawn lines.
Link copied to clipboard
Gets the MeasurementValueConfiguration for measurement annotations.
Link copied to clipboard
Gets outline color set to the annotation creation mode.
Link copied to clipboard
Gets the overlay text set to the annotation creation mode.
Link copied to clipboard
Returns whether the overlay text should be repeated or not.
Link copied to clipboard
Gets text size set to the annotation creation mode.
Link copied to clipboard
Gets thickness set to the annotation creation mode.
Link copied to clipboard
Sets alpha to the annotation creation mode.
Link copied to clipboard
Sets border preset to the annotation creation mode.
Link copied to clipboard
Sets fill color for the annotation creation mode.
Link copied to clipboard
Sets line ending style for drawn lines.
Link copied to clipboard
abstract fun setMeasurementValueConfiguration(@Nullable configuration: MeasurementValueConfiguration)
Sets the MeasurementValueConfiguration for measurement annotations.
Link copied to clipboard
Sets outline color for the annotation creation mode.
Link copied to clipboard
Sets the overlay text to the annotation creation mode.
Link copied to clipboard
Sets if the overlay text should be repeated.
Link copied to clipboard
Sets text size to the annotation creation mode.
Link copied to clipboard
Sets thickness to the annotation creation mode.
Link copied to clipboard
Whether annotation inspector toolbar icon should be visible.
Link copied to clipboard
Shows annotation editor for the passed annotation.
Link copied to clipboard
Displays/hides an annotation inspector for the selected annotation type.
Link copied to clipboard
Unbinds from previously bound annotation inspector controller.