Class BaseTool
Inheritance
System.Object
BaseTool
Implements
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
Assembly: PDFViewCtrlTools.dll
public abstract class BaseTool : Tool, ToolManager.ITool
Constructors
Declaration
public BaseTool(PDFViewCtrl ctrl)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
ctrl |
|
Declaration
protected BaseTool(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Fields
Declaration
public const int LoupeRadius = 60
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int LoupeSize = 120
Field Value
Type |
Description |
System.Int32 |
|
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
Declaration
public virtual bool IsDrawingLoupe { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Overrides
Declaration
protected abstract int LoupeType { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected virtual Matrix Matrix { get; }
Property Value
Type |
Description |
Android.Graphics.Matrix |
|
Declaration
protected Bitmap MBitmap { get; set; }
Property Value
Type |
Description |
Android.Graphics.Bitmap |
|
Declaration
protected Canvas MCanvas { get; set; }
Property Value
Type |
Description |
Android.Graphics.Canvas |
|
Declaration
protected RectF MDesRectF { get; set; }
Property Value
Type |
Description |
Android.Graphics.RectF |
|
Declaration
protected bool MDrawingLoupe { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected RectF MLoupeBBox { get; set; }
Property Value
Type |
Description |
Android.Graphics.RectF |
|
Declaration
protected bool MLoupeEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected int MLoupeHeight { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected int MLoupeRadius { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected int MLoupeSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected int MLoupeWidth { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected Matrix MMatrix { get; set; }
Property Value
Type |
Description |
Android.Graphics.Matrix |
|
Declaration
protected PointF MPressedPoint { get; set; }
Property Value
Type |
Description |
Android.Graphics.PointF |
|
Declaration
protected SelectionLoupe MSelectionLoupe { get; set; }
Property Value
Declaration
protected RectF MSrcRectF { get; set; }
Property Value
Type |
Description |
Android.Graphics.RectF |
|
Declaration
protected float MTSWidgetRadius { get; set; }
Property Value
Type |
Description |
System.Single |
|
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Overrides
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Overrides
Methods
Declaration
protected virtual void AnimateLoupe(bool show)
Parameters
Type |
Name |
Description |
System.Boolean |
show |
|
Declaration
protected abstract bool CanDrawLoupe()
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected virtual void DrawLoupe()
Declaration
protected virtual void SetLoupeInfo(float touch_x, float touch_y)
Parameters
Type |
Name |
Description |
System.Single |
touch_x |
|
System.Single |
touch_y |
|
Implements
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable