Click or drag to resize
DrawTool Methods

The DrawTool type exposes the following members.

Methods
  NameDescription
Public methodAttachUI
Attaches the UI. The method is invoked on tool's execution.
(Inherited from DrawToolBase.)
Protected methodCreatePathFigure
Protected methodCreatePathSegment
Public methodDetachUI
Detaches the UI. The method is invoked when the tool execution is canceled.
(Inherited from DrawToolBase.)
Protected methodDraw
Draws a geometry.
(Overrides DrawToolBaseDraw(Point).)
Protected methodEndDraw
Ends the drawing of a geometry.
(Overrides DrawToolBaseEndDraw(Point).)
Public methodGetCommand
Gets the tool's associated command.
(Inherited from DrawToolBase.)
Public methodGetContext
Gets the tool's command context.
(Inherited from DrawToolBase.)
Public methodGetSettingsUI
Gets the tool' settings UI.
(Overrides ToolBaseGetSettingsUI.)
Public methodResetSettings
Resets the tool' settings if the tool's IsResetSettingsSupported property is true.
(Overrides DrawToolBaseResetSettings.)
Protected methodSetPathProperties
Sets properties to the path which contains the geometry which shall be drawn.
(Overrides DrawToolBaseSetPathProperties(Path).)
Protected methodStartDraw
Starts the drawing of a geometry.
(Overrides DrawToolBaseStartDraw(Point).)
Top
See Also