Class SnapUtils
Inheritance
System.Object
SnapUtils
Assembly: PDFViewCtrlTools.dll
public class SnapUtils : Object
Constructors
Declaration
public SnapUtils(PDFViewCtrl pdfViewCtrl)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
pdfViewCtrl |
|
Declaration
protected SnapUtils(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Properties
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
Declaration
public virtual void DrawSnapToShape(Canvas canvas)
Parameters
Type |
Name |
Description |
Android.Graphics.Canvas |
canvas |
|
Declaration
public virtual void SetCanDraw(bool canDraw)
Parameters
Type |
Name |
Description |
System.Boolean |
canDraw |
|
Declaration
public virtual void SetSnappingMode(int modeFlags)
Parameters
Type |
Name |
Description |
System.Int32 |
modeFlags |
|
Declaration
public virtual PointF SnapToNearest(double x, double y)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
Returns
Type |
Description |
Android.Graphics.PointF |
|