Class FreehandCreate.StrokeCollection
Inheritance
System.Object
FreehandCreate.StrokeCollection
Assembly: pdftron.PDF.Tools.dll
public class StrokeCollection : object
Constructors
Declaration
public StrokeCollection(FreehandCreate.StrokeAppearance strokeAppearance, PDFViewCtrl pdfView)
Parameters
Fields
mPageBoundaries
Declaration
public Rect mPageBoundaries
Field Value
Type |
Description |
pdftron.PDF.Rect |
|
Declaration
public PDFViewCtrl mPDFView
Field Value
Type |
Description |
PDFViewCtrl |
|
Declaration
public List<Path> mShapes
Field Value
Type |
Description |
List<Windows.UI.Xaml.Shapes.Path> |
|
Declaration
public FreehandCreate.StrokeAppearance mStrokeAppearance
Field Value
Declaration
public List<FreehandCreate.StrokeCollection.StrokeBundle> mStrokeList
Field Value
Properties
Declaration
public FreehandCreate.PenStroke CurrentPenStroke { get; }
Property Value
Declaration
public Path CurrentShape { get; }
Property Value
Type |
Description |
Windows.UI.Xaml.Shapes.Path |
|
Declaration
public FrameworkElement StrokeWidget { get; }
Property Value
Type |
Description |
Windows.UI.Xaml.FrameworkElement |
|
Methods
Declaration
public void AddPath(FreehandCreate.PenStroke penStroke)
Parameters
Declaration
public void CancelCurrentPath()
Declaration
public bool Erase(List<Point> eraseList, Rect inkRekt, double halfWidth, ref List<FreehandCreate.PenStroke> addedStrokes, ref List<FreehandCreate.PenStroke> removedStrokes)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GetBoundingRectInPageSpace()
Declaration
public Rect GetBoundingRectInPageSpace()
Returns
Type |
Description |
pdftron.PDF.Rect |
|
Declaration
public void RedrawAllPaths()
Creates the necessary structures to create a new path, making
them available through CurrentPenStroke and CurrentShape.
Declaration
public PathFigureCollection StartNewPath()
Returns
Type |
Description |
Windows.UI.Xaml.Media.PathFigureCollection |
The PathFigureCollection which belongs to CurrentShape
|
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|