Click or drag to resize
PencilTool Class
Activated when pen drawing action is going to be executed.
Inheritance Hierarchy

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class PencilTool : DrawingToolBase

The PencilTool type exposes the following members.

Constructors
  NameDescription
Public methodPencilTool
Initializes a new instance of the PencilTool class.
Top
Methods
  NameDescription
Public methodActivateTool
Activates the tool.
(Inherited from ToolBase.)
Public methodCompleteTool
Completes the action of this tool.
(Inherited from DrawingToolBase.)
Protected methodCreateShape
Creates a shape.
(Inherited from DrawingToolBase.)
Public methodDeactivateTool
Deactivates the tool.
(Inherited from ToolBase.)
Public methodInitialize
Initializes this tool.
(Inherited from PrimaryMouseToolBase.)
Public methodKeyDown
Handles the key down event.
(Inherited from DrawingToolBase.)
Public methodKeyUp
Handles the key up event.
(Inherited from PrimaryMouseToolBase.)
Public methodMouseDoubleClick
Handles the mouse double click event.
(Inherited from PrimaryMouseToolBase.)
Public methodMouseDown
Handles the mouse-down event.
(Overrides DrawingToolBaseMouseDown(PointerArgs).)
Public methodMouseMove
Handles the mouse-move event.
(Overrides PrimaryMouseToolBaseMouseMove(PointerArgs).)
Public methodMouseUp
Handles the mouse-up event.
(Overrides PrimaryMouseToolBaseMouseUp(PointerArgs).)
Protected methodOnActivated
Called when tool is IsActive is changed to true.
(Inherited from ToolBase.)
Protected methodOnDeactivated
Called when tool is IsActive is changed to false.
(Inherited from DrawingToolBase.)
Protected methodRestoreCursor
Restores the cursor.
(Inherited from ToolBase.)
Public methodUndoToolAction
Undoes what this tool has performed.
(Overrides DrawingToolBaseUndoToolAction.)
Top
Fields
  NameDescription
Public fieldStatic memberToolName
The name of the pencil tool.
Top
Properties
  NameDescription
Protected propertyActiveConnector
Gets or sets the active connector.
(Inherited from PrimaryMouseToolBase.)
Protected propertyAddShapeCommand
Gets or sets the ICommand for adding a shape to the diagram.
(Inherited from DrawingToolBase.)
Public propertyControllerService
Gets the IControllerService service.
(Inherited from DrawingToolBase.)
Protected propertyCursor
Gets or sets the cursor.
(Inherited from ToolBase.)
Public propertyDrawingService
Gets the IDrawingService service.
(Inherited from DrawingToolBase.)
Public propertyGraph
Gets or sets the graph view (aka surface).
(Inherited from ToolBase.)
Protected propertyHitItem
Gets the hit item.
(Inherited from PrimaryMouseToolBase.)
Protected propertyHitTestService
(Inherited from PrimaryMouseToolBase.)
Protected propertyInitialPoint
Gets the initial point of the interaction.
(Inherited from ToolBase.)
Public propertyIsActive
Gets or sets a value indicating whether this tool is active.
(Inherited from ToolBase.)
Public propertyIsEnabled
Gets or sets the IsEnabled.
(Inherited from ToolBase.)
Public propertyName
Gets or sets the layer.
(Inherited from ToolBase.)
Public propertyOmissionStep
Gets or sets the drawing omission step. This property defines the number of mouse or touch events that are skipped after a successful draw. You can increase the omission step for better performance on tablets.
Protected propertySelectionService
(Inherited from PrimaryMouseToolBase.)
Protected propertyServiceLocator
(Inherited from PrimaryMouseToolBase.)
Public propertyToolService
Gets or sets the tool service (see ToolService).
(Inherited from ToolBase.)
Public propertyUndoRedoService
Gets the IUndoRedoService service.
(Inherited from DrawingToolBase.)
Top
See Also