EraserPreviewInspectorView

constructor(@NonNull context: Context, @NonNull annotationCreationController: AnnotationCreationController, @NonNull thicknessConfiguration: AnnotationThicknessConfiguration)

Construct an eraser preview view.

Parameters

context

The context to use.

annotationCreationController

Annotation creation controller used to read annotation creation settings.

thicknessConfiguration

Thickness configuration of the eraser tool, used to make sure there is enough height to preview the eraser size.