Class SimpleShapeCreate
This is the base class for simple shape creation tools
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
SimpleShapeCreate
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Assembly: pdftron.PDF.Tools.dll
public class SimpleShapeCreate : Tool, 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
Fields
Declaration
Field Value
Declaration
Field Value
Declaration
protected bool mCancelledDrawing
Field Value
Type |
Description |
System.Boolean |
|
Declaration
protected bool mDelayedRemovalSet
Field Value
Type |
Description |
System.Boolean |
|
mDownPageNumber
Declaration
protected int mDownPageNumber
Field Value
Type |
Description |
System.Int32 |
|
Declaration
protected double mDrawThickness
Field Value
Type |
Description |
System.Double |
|
Declaration
protected SolidColorBrush mFillBrush
Field Value
Type |
Description |
Windows.UI.Xaml.Media.SolidColorBrush |
|
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Declaration
protected double mOpacity
Field Value
Type |
Description |
System.Double |
|
mPageCropOnClient
Declaration
protected Rect mPageCropOnClient
Field Value
Declaration
protected bool mPointerDown
Field Value
Type |
Description |
System.Boolean |
|
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Declaration
protected CompositeTransform mRenderTransform
Field Value
Type |
Description |
Windows.UI.Xaml.Media.CompositeTransform |
|
Declaration
protected ScrollViewer mScrollViewer
Field Value
Type |
Description |
Windows.UI.Xaml.Controls.ScrollViewer |
|
Declaration
protected bool mSimpleShapeCanceledAtPress
Field Value
Type |
Description |
System.Boolean |
|
Declaration
protected bool mSimpleShapeCreateSubclassHandlesProperties
Field Value
Type |
Description |
System.Boolean |
|
Declaration
protected bool mStartDrawing
Field Value
Type |
Description |
System.Boolean |
|
Declaration
protected SolidColorBrush mStrokeBrush
Field Value
Type |
Description |
Windows.UI.Xaml.Media.SolidColorBrush |
|
Declaration
protected double mStrokeThickness
Field Value
Type |
Description |
System.Double |
|
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Declaration
protected bool mUseStroke
Field Value
Type |
Description |
System.Boolean |
|
Declaration
protected Canvas mViewerCanvas
Field Value
Type |
Description |
Windows.UI.Xaml.Controls.Canvas |
|
Declaration
protected double mZoomLevel
Field Value
Type |
Description |
System.Double |
|
Declaration
protected int START_DRAWING_THRESHOLD
Field Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
protected Rect GetShapeBBox()
Returns
Type |
Description |
pdftron.PDF.Rect |
|
Sets the look of a markup annotation.
Declaration
protected void SetStyle(Annots.IMarkup annot, bool hasFill = false)
Parameters
Type |
Name |
Description |
pdftron.PDF.Annots.IMarkup |
annot |
The annotation
|
System.Boolean |
hasFill |
Whether the annotation has a fill color or not
|
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Extension Methods