ClassPencilTool
Activated when pen drawing action is going to be executed.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public class PencilTool : DrawingToolBase, ITool, IMouseListener, IKeyboardListener
Inheritance: objectToolBasePrimaryMouseToolBaseDrawingToolBasePencilTool
Implements:
Inherited Members
Constructors
PencilTool()
Initializes a new instance of the PencilTool class.
Declaration
public PencilTool()
Fields
Properties
OmissionStep
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.
Declaration
public int OmissionStep { get; set; }
Property Value
The drawing omission step.
Methods
MouseDown(PointerArgs)
Handles the mouse-down event.
Declaration
public override bool MouseDown(PointerArgs e)
Parameters
e
The PointerArgs instance containing the event data.
Returns
Overrides
MouseMove(PointerArgs)
Handles the mouse-move event.
Declaration
public override bool MouseMove(PointerArgs e)
Parameters
e
The PointerArgs instance containing the event data.
Returns
Overrides
MouseUp(PointerArgs)
Handles the mouse-up event.
Declaration
public override bool MouseUp(PointerArgs e)
Parameters
e
The PointerArgs instance containing the event data.
Returns
Overrides
UndoToolAction()
Undoes what this tool has performed.
Declaration
public override void UndoToolAction()
Overrides