Show / Hide Table of Contents

Class BaseTool

Inheritance
System.Object
Tool
BaseTool
AnnotEdit
SimpleShapeCreate
TextMarkupCreate
TextSelect
Implements
ToolManager.ITool
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
Inherited Members
Tool.AnnotationFreeTextFonts
Tool.AnnotationFreeTextJsonFont
Tool.AnnotationFreeTextJsonFontDisplayInList
Tool.AnnotationFreeTextJsonFontDisplayName
Tool.AnnotationFreeTextJsonFontFilePath
Tool.AnnotationFreeTextJsonFontName
Tool.AnnotationFreeTextJsonFontPdftronName
Tool.AnnotationFreeTextPreferenceDialog
Tool.AnnotationFreeTextPreferenceEditing
Tool.AnnotationFreeTextPreferenceEditingDefault
Tool.AnnotationFreeTextPreferenceInline
Tool.AnnotationNoteIconFilePostfixFill
Tool.AnnotationNoteIconFilePostfixOutline
Tool.AnnotationNoteIconFilePrefix
Tool.AnnotationToolbarSignatureState
Tool.AnnotPermissionFillAndSign
Tool.AnnotPermissionInteract
Tool.AnnotPermissionMenu
Tool.AnnotPermissionSelection
Tool.Flattened
Tool.FormFieldSymbolCheckbox
Tool.FormFieldSymbolCircle
Tool.FormFieldSymbolCross
Tool.FormFieldSymbolDiamond
Tool.FormFieldSymbolSquare
Tool.FormFieldSymbolStar
Tool.IsLink
Tool.Keys
Tool.LastDeviceLocaleLanguage
Tool.LinkRectf
Tool.LinkUrl
Tool.MethodFrom
Tool.PageNumber
Tool.PdftronId
Tool.PdftronThickness
Tool.PrefAnnotationCreationArrow
Tool.PrefAnnotationCreationCloud
Tool.PrefAnnotationCreationColor
Tool.PrefAnnotationCreationEraser
Tool.PrefAnnotationCreationFillColor
Tool.PrefAnnotationCreationFont
Tool.PrefAnnotationCreationFreehand
Tool.PrefAnnotationCreationFreetext
Tool.PrefAnnotationCreationFreeHighlighter
Tool.PrefAnnotationCreationHighlight
Tool.PrefAnnotationCreationIcon
Tool.PrefAnnotationCreationLine
Tool.PrefAnnotationCreationLink
Tool.PrefAnnotationCreationNote
Tool.PrefAnnotationCreationOpacity
Tool.PrefAnnotationCreationOval
Tool.PrefAnnotationCreationPolygon
Tool.PrefAnnotationCreationPolyline
Tool.PrefAnnotationCreationRectangle
Tool.PrefAnnotationCreationSignature
Tool.PrefAnnotationCreationSquiggly
Tool.PrefAnnotationCreationStrikeout
Tool.PrefAnnotationCreationTextColor
Tool.PrefAnnotationCreationTextSize
Tool.PrefAnnotationCreationThickness
Tool.PrefAnnotationCreationUnderline
Tool.PrefTranslationSourceLanguageCodeDefault
Tool.PrefTranslationSourceLanguageCodeKey
Tool.PrefTranslationTargetLanguageCodeDefault
Tool.PrefTranslationTargetLanguageCodeKey
Tool.QmMaxRowSize
Tool.StampShowFlattenWarning
Tool.AddAnnotView()
Tool.AddOldTools()
Tool.AddRotateHandle()
Tool.BackToDefaultTool()
Tool.BuildAnnotBBox()
Tool.CalculateQMAnchor(RectF)
Tool.CanAddAnnotView(Annot, AnnotStyle)
Tool.CanAddRotateView(Annot)
Tool.CanSelectGroupAnnot(PDFViewCtrl, Annot, Int32)
Tool.ClearTargetPoint()
Tool.CloseQuickMenu()
Tool.ConvDp2Pix(Single)
Tool.ConvPix2Dp(Single)
Tool.ConvertFromPageRectToScreenRect(Rect, Int32)
Tool.CreateQuickMenu()
Tool.CustomizeQuickMenuItems(QuickMenu)
Tool.DeleteAnnot()
Tool.DidTapOnSameTypeAnnot(MotionEvent)
Tool.DoneOneFingerScrollingWithStylus()
Tool.DoneTwoFingerScrolling()
Tool.DrawSnapToShapeIfEnabled(Canvas)
Tool.ExecuteAction(ActionParameter)
Tool.FindPDFTronFontName(Context, String)
Tool.FlattenAnnot()
Tool.GetAnnotationModificationBundle(Bundle)
Tool.GetBorderStyleKey(Int32)
Tool.GetColorFillKey(Int32)
Tool.GetColorKey(Int32)
Tool.GetDateFormatKey(Int32)
Tool.GetEraserTypeKey(Int32)
Tool.GetFontKey(Int32)
Tool.GetHorizontalAlignmentKey(Int32)
Tool.GetIconKey(Int32)
Tool.GetInkEraserModeKey(Int32)
Tool.GetLineEndStyleKey(Int32)
Tool.GetLineStartStyleKey(Int32)
Tool.GetLineStyleKey(Int32)
Tool.GetModeFromAnnotType(Annot)
Tool.GetOpacityKey(Int32)
Tool.GetRectFromRectF(RectF)
Tool.GetRulerBaseUnitKey(Int32)
Tool.GetRulerBaseValueKey(Int32)
Tool.GetRulerTranslateUnitKey(Int32)
Tool.GetRulerTranslateValueKey(Int32)
Tool.GetStringFromResId(Int32)
Tool.GetTextColorKey(Int32)
Tool.GetTextMarkupTypeKey(Int32)
Tool.GetTextSelectRect(Single, Single)
Tool.GetTextSizeKey(Int32)
Tool.GetThicknessKey(Int32)
Tool.GetToolPreferences(Context)
Tool.GetVerticalAlignmentKey(Int32)
Tool.HandleFlattenAnnot()
Tool.HasMenuEntry(Int32)
Tool.HasPermission(Annot, Int32)
Tool.InitializeSnapToNearest()
Tool.IsAllowOneFingerScrollWithStylus(MotionEvent)
Tool.IsAnnotSupportEdit(Annot)
Tool.IsInsideAnnot(MotionEvent)
Tool.IsInsideQuickMenu(Single, Single)
Tool.IsMadeByPDFTron(Annot)
Tool.IsValidAnnot(Annot)
Tool.OnAnnotPainterUpdated(Int32, Int64, CurvePainter)
Tool.OnClose()
Tool.OnConfigurationChanged(Configuration)
Tool.OnCreate()
Tool.OnCustomEvent(Object)
Tool.OnDocumentDownloadEvent(PDFViewCtrl.DownloadState, Int32, Int32, Int32, String)
Tool.OnDoubleTap(MotionEvent)
Tool.OnDoubleTapEnd(MotionEvent)
Tool.OnDoubleTapEvent(MotionEvent)
Tool.OnDoubleTapZoomAnimationBegin()
Tool.OnDoubleTapZoomAnimationEnd()
Tool.OnDown(MotionEvent)
Tool.OnDraw(Canvas, Matrix)
Tool.OnDrawEdgeEffects(Canvas, Int32, Int32)
Tool.OnFlingStop()
Tool.OnInterceptAnnotationHandling(Annot)
Tool.OnInterceptAnnotationHandling(Annot, Bundle)
Tool.OnInterceptAnnotationHandling(PDFViewCtrl.LinkInfo, Int32)
Tool.OnInterceptDialogEvent(AlertDialog)
Tool.OnInterceptDialogFragmentEvent(DialogFragment)
Tool.OnKeyUp(Int32, KeyEvent)
Tool.OnLayout(Boolean, Int32, Int32, Int32, Int32)
Tool.OnLongPress(MotionEvent)
Tool.OnMove(MotionEvent, MotionEvent, Single, Single)
Tool.OnNightModeUpdated(Boolean)
Tool.OnPageTurning(Int32, Int32)
Tool.OnPointerDown(MotionEvent)
Tool.OnPostSingleTapConfirmed()
Tool.OnPullEdgeEffects(Int32, Single)
Tool.OnQuickMenuClicked(QuickMenuItem)
Tool.OnReleaseEdgeEffects()
Tool.OnRenderingFinished()
Tool.OnScale(Single, Single)
Tool.OnScaleBegin(Single, Single)
Tool.OnScaleEnd(Single, Single)
Tool.OnScrollChanged(Int32, Int32, Int32, Int32)
Tool.OnSetDoc()
Tool.OnShowPress(MotionEvent)
Tool.OnSingleTapConfirmed(MotionEvent)
Tool.OnSingleTapUp(MotionEvent)
Tool.OnUp(MotionEvent, PDFViewCtrl.PriorEventType)
Tool.RaiseAnnotationActionEvent()
Tool.RaiseAnnotationAddedEvent(Annot, Int32)
Tool.RaiseAnnotationAddedEvent(IDictionary<Annot, Integer>)
Tool.RaiseAnnotationModifiedEvent(Annot, Int32)
Tool.RaiseAnnotationModifiedEvent(Annot, Int32, Bundle)
Tool.RaiseAnnotationModifiedEvent(IDictionary<Annot, Integer>)
Tool.RaiseAnnotationPreModifyEvent(Annot, Int32)
Tool.RaiseAnnotationPreModifyEvent(IDictionary<Annot, Integer>)
Tool.RaiseAnnotationPreRemoveEvent(Annot, Int32)
Tool.RaiseAnnotationPreRemoveEvent(IDictionary<Annot, Integer>)
Tool.RaiseAnnotationRemovedEvent(Annot, Int32)
Tool.RaiseAnnotationRemovedEvent(Annot, Int32, Bundle)
Tool.RaiseAnnotationRemovedEvent(IDictionary<Annot, Integer>)
Tool.RaiseAnnotationRemovedEvent(IDictionary<Annot, Integer>, Bundle)
Tool.RemoveAnnotView()
Tool.RemoveAnnotView(Boolean)
Tool.RemoveAnnotView(Boolean, Boolean)
Tool.RemoveAnnotView(Boolean, Boolean, Boolean)
Tool.RemoveRotateHandle()
Tool.SafeSetNextToolMode(ToolManager.IToolModeBase)
Tool.SelectAnnot(Annot, Int32)
Tool.SetAnnot(Annot, Int32)
Tool.SetAuthor(Markup)
Tool.SetAuthorForAnnot(ToolManager, Markup)
Tool.SetCurrentDefaultToolModeHelper(ToolManager.IToolModeBase)
Tool.SetCurrentDefaultToolModeImpl(ToolManager.IToolModeBase)
Tool.SetDateToNow(Annot)
Tool.SetDebug(Boolean)
Tool.SetJustCreatedFromAnotherTool()
Tool.SetNextToolModeHelper(ToolManager.ToolMode)
Tool.SetNextToolModeImpl(ToolManager.IToolModeBase)
Tool.SetPageNumberIndicatorVisible(Boolean)
Tool.SetSnapCanDrawShapeIfEnabled(Boolean)
Tool.SetStylusFlags(MotionEvent)
Tool.SetUniqueID(Markup)
Tool.SetupAnnotProperty(AnnotStyle)
Tool.SetupAnnotProperty(Int32, Single, Single, Int32, String, String)
Tool.SetupAnnotProperty(Int32, Single, Single, Int32, String, String, Int32, Single)
Tool.SetupAnnotStyles(IList<AnnotStyle>)
Tool.ShowMenu(RectF)
Tool.ShowMenu(RectF, QuickMenu)
Tool.ShowTransientPageNumber()
Tool.ShowWidgetChoiceDialog(Int64, Int32, Boolean, Boolean, String[])
Tool.SkipOnUpPriorEvent(PDFViewCtrl.PriorEventType)
Tool.SnapToNearestIfEnabled(PointF)
Tool.UnsetAnnot()
Tool.UpdateFont(PDFViewCtrl, Widget, String)
Tool.UpdateFontMap(Context, Int32, String, String)
Tool.UpdateQuickMenuNoteText(String)
Tool.UpdateQuickMenuStyleColor(Int32)
Tool.UpdateQuickMenuStyleOpacity(Single)
Tool.AnnotationFreeTextWhitelistFonts
Tool.MAllowOneFingerScrollWithStylus
Tool.MAllowScrollWithTapTool
Tool.MAllowTapToSelect
Tool.MAllowTwoFingerScroll
Tool.MAllowZoom
Tool.MAnnot
Tool.MAnnotBBox
Tool.MAnnotPageNum
Tool.MAnnotPushedBack
Tool.MAnnotStyle
Tool.MAnnotView
Tool.MAvoidLongPressAttempt
Tool.MBitmapDisposable
Tool.MCurrentDefaultToolMode
Tool.MForceSameNextToolMode
Tool.MGroupAnnots
Tool.MHasInteractPermission
Tool.MHasMenuPermission
Tool.MHasSelectionPermission
Tool.MIsStylus
Tool.MJustSwitchedFromAnotherTool
Tool.MMruMenuItems
Tool.MMultiStrokeMode
Tool.MNextToolMode
Tool.MOverflowMenuItems
Tool.MPageNumPosAdjust
Tool.MPdfViewCtrl
Tool.MQuickMenu
Tool.MRotateHandle
Tool.MSelectPageNum
Tool.MStylusUsed
Tool.MTempPageDrawingRectF
Tool.MTimedModeEnabled
Tool.MUpFromCalloutCreate
Tool.SDebug
Tool.Annot
Tool.AnnotCanvasRect
Tool.AnnotRect
Tool.Bundle
Tool.CreateAnnotType
Tool.CurrentDefaultToolMode
Tool.ForceSameNextToolMode
Tool.HasAnnotSelected
Tool.IsCreatingAnnotation
Tool.IsEditAnnotTool
Tool.IsEditingAnnot
Tool.IsQuickMenuShown
Tool.ModeAHLabel
Tool.NextToolMode
Tool.OldAnnotScreenPosition
Tool.QuickMenuAnalyticType
Tool.SnappingEnabled
Tool.ToolMode
Namespace: pdftron.PDF.Tools
Assembly: PDFViewCtrlTools.dll
Syntax
public abstract class BaseTool : Tool, ToolManager.ITool

Constructors

BaseTool(PDFViewCtrl)

Declaration
public BaseTool(PDFViewCtrl ctrl)
Parameters
Type Name Description
pdftronprivate.PDF.PDFViewCtrl ctrl

BaseTool(IntPtr, JniHandleOwnership)

Declaration
protected BaseTool(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type Name Description
System.IntPtr javaReference
Android.Runtime.JniHandleOwnership transfer

Fields

LoupeRadius

Declaration
public const int LoupeRadius = 60
Field Value
Type Description
System.Int32

LoupeSize

Declaration
public const int LoupeSize = 120
Field Value
Type Description
System.Int32

LoupeTypeMeasure

Declaration
public const int LoupeTypeMeasure = 2
Field Value
Type Description
System.Int32

LoupeTypeText

Declaration
public const int LoupeTypeText = 1
Field Value
Type Description
System.Int32

Properties

IsDrawingLoupe

Declaration
public virtual bool IsDrawingLoupe { get; }
Property Value
Type Description
System.Boolean

JniPeerMembers

Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type Description
Java.Interop.JniPeerMembers
Overrides
Tool.JniPeerMembers

LoupeType

Declaration
protected abstract int LoupeType { get; }
Property Value
Type Description
System.Int32

Matrix

Declaration
protected virtual Matrix Matrix { get; }
Property Value
Type Description
Android.Graphics.Matrix

MBitmap

Declaration
protected Bitmap MBitmap { get; set; }
Property Value
Type Description
Android.Graphics.Bitmap

MCanvas

Declaration
protected Canvas MCanvas { get; set; }
Property Value
Type Description
Android.Graphics.Canvas

MDesRectF

Declaration
protected RectF MDesRectF { get; set; }
Property Value
Type Description
Android.Graphics.RectF

MDrawingLoupe

Declaration
protected bool MDrawingLoupe { get; set; }
Property Value
Type Description
System.Boolean

MLoupeBBox

Declaration
protected RectF MLoupeBBox { get; set; }
Property Value
Type Description
Android.Graphics.RectF

MLoupeEnabled

Declaration
protected bool MLoupeEnabled { get; set; }
Property Value
Type Description
System.Boolean

MLoupeHeight

Declaration
protected int MLoupeHeight { get; set; }
Property Value
Type Description
System.Int32

MLoupeRadius

Declaration
protected int MLoupeRadius { get; set; }
Property Value
Type Description
System.Int32

MLoupeSize

Declaration
protected int MLoupeSize { get; set; }
Property Value
Type Description
System.Int32

MLoupeWidth

Declaration
protected int MLoupeWidth { get; set; }
Property Value
Type Description
System.Int32

MMatrix

Declaration
protected Matrix MMatrix { get; set; }
Property Value
Type Description
Android.Graphics.Matrix

MPressedPoint

Declaration
protected PointF MPressedPoint { get; set; }
Property Value
Type Description
Android.Graphics.PointF

MSelectionLoupe

Declaration
protected SelectionLoupe MSelectionLoupe { get; set; }
Property Value
Type Description
SelectionLoupe

MSrcRectF

Declaration
protected RectF MSrcRectF { get; set; }
Property Value
Type Description
Android.Graphics.RectF

MTSWidgetRadius

Declaration
protected float MTSWidgetRadius { get; set; }
Property Value
Type Description
System.Single

ThresholdClass

Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type Description
System.IntPtr
Overrides
Tool.ThresholdClass

ThresholdType

Declaration
protected override Type ThresholdType { get; }
Property Value
Type Description
System.Type
Overrides
Tool.ThresholdType

Methods

AnimateLoupe(Boolean)

Declaration
protected virtual void AnimateLoupe(bool show)
Parameters
Type Name Description
System.Boolean show

CanDrawLoupe()

Declaration
protected abstract bool CanDrawLoupe()
Returns
Type Description
System.Boolean

DrawLoupe()

Declaration
protected virtual void DrawLoupe()

SetLoupeInfo(Single, Single)

Declaration
protected virtual void SetLoupeInfo(float touch_x, float touch_y)
Parameters
Type Name Description
System.Single touch_x
System.Single touch_y

Implements

ToolManager.ITool
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
In This Article
Back to top Generated by DocFX