Class PencilTool
Activated when pen drawing action is going to be executed.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class PencilTool : DrawingToolBase, ITool, IMouseListener, IKeyboardListener
Constructors
PencilTool()
Fields
ToolName
The name of the pencil tool.
Declaration
public const string ToolName = "PencilTool"
Field Value
System.String
|
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
System.Int32
The drawing omission step. |
Methods
MouseDown(PointerArgs)
Handles the mouse-down event.
Declaration
public override bool MouseDown(PointerArgs e)
Parameters
PointerArgs
e
The PointerArgs instance containing the event data. |
Returns
System.Boolean
|
Overrides
MouseMove(PointerArgs)
Handles the mouse-move event.
Declaration
public override bool MouseMove(PointerArgs e)
Parameters
PointerArgs
e
The PointerArgs instance containing the event data. |
Returns
System.Boolean
|
Overrides
MouseUp(PointerArgs)
Handles the mouse-up event.
Declaration
public override bool MouseUp(PointerArgs e)
Parameters
PointerArgs
e
The PointerArgs instance containing the event data. |
Returns
System.Boolean
|
Overrides
UndoToolAction()
Undoes what this tool has performed.
Declaration
public override void UndoToolAction()