Class PressureInkUtils
Inheritance
System.Object
PressureInkUtils
Assembly: PDFViewCtrlTools.dll
public class PressureInkUtils : Object
Constructors
Declaration
public PressureInkUtils()
Declaration
protected PressureInkUtils(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 static void ClearThicknessList(Annot annot)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.Annot |
annot |
|
Declaration
public static PressureInkUtils.EraserData ErasePointsAndThickness(IList<IList<PointF>> oldStrokeList, IList<IList<Float>> oldThicknessList, PDFViewCtrl mPdfViewCtrl, IList<IList<PointF>> eraserStrokes, float eraserHalfWidth, Rect annotRect)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<System.Collections.Generic.IList<Android.Graphics.PointF>> |
oldStrokeList |
|
System.Collections.Generic.IList<System.Collections.Generic.IList<Java.Lang.Float>> |
oldThicknessList |
|
pdftronprivate.PDF.PDFViewCtrl |
mPdfViewCtrl |
|
System.Collections.Generic.IList<System.Collections.Generic.IList<Android.Graphics.PointF>> |
eraserStrokes |
|
System.Single |
eraserHalfWidth |
|
pdftronprivate.PDF.Rect |
annotRect |
|
Returns
Declaration
public static PressureInkUtils.EraserData ErasePressureStrokesAndThickness(IList<IList<PointF>> oldStrokeList, IList<IList<Float>> oldThicknessList, PDFViewCtrl mPdfViewCtrl, IList<IList<PointF>> eraserStrokes, float eraserHalfWidth, Rect annotRect)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<System.Collections.Generic.IList<Android.Graphics.PointF>> |
oldStrokeList |
|
System.Collections.Generic.IList<System.Collections.Generic.IList<Java.Lang.Float>> |
oldThicknessList |
|
pdftronprivate.PDF.PDFViewCtrl |
mPdfViewCtrl |
|
System.Collections.Generic.IList<System.Collections.Generic.IList<Android.Graphics.PointF>> |
eraserStrokes |
|
System.Single |
eraserHalfWidth |
|
pdftronprivate.PDF.Rect |
annotRect |
|
Returns
Declaration
public static void EraseSubPath(Ink ink, int index)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.Annots.Ink |
ink |
|
System.Int32 |
index |
|
Declaration
public static IList<double[]> GenerateOutlines(IList<IList<PointF>> pathList, IList<IList<Float>> thicknessesList, float baseThickness)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<System.Collections.Generic.IList<Android.Graphics.PointF>> |
pathList |
|
System.Collections.Generic.IList<System.Collections.Generic.IList<Java.Lang.Float>> |
thicknessesList |
|
System.Single |
baseThickness |
|
Returns
Type |
Description |
System.Collections.Generic.IList<System.Double[]> |
|
Declaration
public static Rect GetInkItemBBox(IList<IList<PointF>> strokes, float thickness, int pageNumber, PDFViewCtrl pdfViewCtrl, bool inScreenCoordinates)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<System.Collections.Generic.IList<Android.Graphics.PointF>> |
strokes |
|
System.Single |
thickness |
|
System.Int32 |
pageNumber |
|
pdftronprivate.PDF.PDFViewCtrl |
pdfViewCtrl |
|
System.Boolean |
inScreenCoordinates |
|
Returns
Type |
Description |
pdftronprivate.PDF.Rect |
|
Declaration
public static IList<double[]> GetThicknessArrays(Ink ink)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.Annots.Ink |
ink |
|
Returns
Type |
Description |
System.Collections.Generic.IList<System.Double[]> |
|
Declaration
public static IList<IList<Float>> GetThicknessList(Ink ink)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.Annots.Ink |
ink |
|
Returns
Type |
Description |
System.Collections.Generic.IList<System.Collections.Generic.IList<Java.Lang.Float>> |
|
Declaration
public static bool IsPressureSensitive(Annot ink)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.Annot |
ink |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool RefreshCustomAppearanceForNewAnnot(PDFViewCtrl pdfViewCtrl, Annot annot)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
pdfViewCtrl |
|
pdftronprivate.PDF.Annot |
annot |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool RefreshCustomInkAppearanceForExistingAnnot(Annot annot)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.Annot |
annot |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static void SetInkList(Ink ink, IList<IList<PointF>> inkList)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.Annots.Ink |
ink |
|
System.Collections.Generic.IList<System.Collections.Generic.IList<Android.Graphics.PointF>> |
inkList |
|
Declaration
public static void SetThicknessList(Ink annot, IList<IList<Float>> thicknessesList)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.Annots.Ink |
annot |
|
System.Collections.Generic.IList<System.Collections.Generic.IList<Java.Lang.Float>> |
thicknessesList |
|
UpdateInkPointsOnMoveToNewPage(PDFViewCtrl, Annot, Int32, Int32, RectF, RectF)
Declaration
public static void UpdateInkPointsOnMoveToNewPage(PDFViewCtrl pdfViewCtrl, Annot inkAnnot, int currentPage, int newPage, RectF currentScreenRect, RectF newAnnotScreenRect)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
pdfViewCtrl |
|
pdftronprivate.PDF.Annot |
inkAnnot |
|
System.Int32 |
currentPage |
|
System.Int32 |
newPage |
|
Android.Graphics.RectF |
currentScreenRect |
|
Android.Graphics.RectF |
newAnnotScreenRect |
|