Class AdvancedShapeCreate
This class is the base class for several shape creation classes that need clicks to determine vertices vs drag and drop, e.g., Polyline, Polygon, Cloud and etc.
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
AdvancedShapeCreate
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Inherited Members
Namespace: pdftron.PDF.Tools
Assembly: pdftron.PDF.Tools.dll
Syntax
public abstract class AdvancedShapeCreate : 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
AdvancedShapeCreate(PDFViewCtrl, ToolManager)
Declaration
public AdvancedShapeCreate(PDFViewCtrl pdfViewControl, ToolManager toolManager)
Parameters
Type | Name | Description |
---|---|---|
PDFViewCtrl | pdfViewControl | |
ToolManager | toolManager |
Methods
GetAdvancedShapeBBox(List<Point>)
Declaration
protected Rect GetAdvancedShapeBBox(List<Point> pointList)
Parameters
Type | Name | Description |
---|---|---|
List<pdftron.PDF.Point> | pointList |
Returns
Type | Description |
---|---|
pdftron.PDF.Rect |
OnPointCreated(Int32)
Declaration
protected virtual void OnPointCreated(int totalPts)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | totalPts |
Events
PointCreated
This event is invoked when a new point is created and passes the total number of points.
Declaration
public event AdvancedShapeCreate.PointCreatedDelegate PointCreated
Event Type
Type | Description |
---|---|
AdvancedShapeCreate.PointCreatedDelegate |
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement