Class Eraser
Inheritance
System.Object
Windows.UI.Xaml.DependencyObject
Windows.UI.Xaml.UIElement
Windows.UI.Xaml.FrameworkElement
Windows.UI.Xaml.Controls.Panel
Windows.UI.Xaml.Controls.Canvas
Eraser
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Assembly: pdftron.PDF.Tools.dll
public class Eraser : SimpleShapeCreate, IDependencyObject, IDependencyObject2, IUIElement, IUIElement2, IUIElement3, IUIElement4, IUIElement5, IUIElement7, IUIElement8, IUIElement9, IUIElement10, IUIElementOverrides, IUIElementOverrides7, IUIElementOverrides8, IUIElementOverrides9, IAnimationObject, IVisualElement, IFrameworkElement, IFrameworkElement2, IFrameworkElement3, IFrameworkElement4, IFrameworkElement6, IFrameworkElement7, IFrameworkElementProtected7, IFrameworkElementOverrides, IFrameworkElementOverrides2, IPanel, IPanel2, ICanvas
Constructors
Declaration
public Eraser(PDFViewCtrl ctrl, ToolManager tMan)
Parameters
Type |
Name |
Description |
PDFViewCtrl |
ctrl |
|
ToolManager |
tMan |
|
Fields
Declaration
protected PathFigure mCurrentPathFigure
Field Value
Type |
Description |
Windows.UI.Xaml.Media.PathFigure |
|
Declaration
protected double mEraseHalfThickness
Field Value
Type |
Description |
System.Double |
|
Declaration
protected List<Point> mEraseStrokeList
Field Value
Type |
Description |
List<pdftron.PDF.Point> |
|
Declaration
protected bool mFirstTime
Field Value
Type |
Description |
System.Boolean |
|
Declaration
protected Dictionary<SDF.Obj, Annots.Ink> mInkMap
Field Value
Type |
Description |
Dictionary<SDF.Obj, Annots.Ink> |
|
Declaration
protected bool mIsErasing
Field Value
Type |
Description |
System.Boolean |
|
Declaration
protected Point mLastPoint
Field Value
Type |
Description |
Windows.Foundation.Point |
|
Declaration
protected PathFigureCollection mPathPoints
Field Value
Type |
Description |
Windows.UI.Xaml.Media.PathFigureCollection |
|
Declaration
protected List<Point> mPointList
Field Value
Type |
Description |
List<pdftron.PDF.Point> |
|
Methods
Declaration
public double GetEraserHalfThickness()
Returns
Type |
Description |
System.Double |
|
Declaration
public void SetEraserHalfThickness(double thickness)
Parameters
Type |
Name |
Description |
System.Double |
thickness |
|
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Extension Methods