Click or drag to resize
DrawToolBase Class
Represents an abstraction of a tool which is responsible for drawing a geometries over an image.
Inheritance Hierarchy

Namespace: Telerik.Windows.Media.Imaging.Tools
Assembly: Telerik.Windows.Controls.ImageEditor (in Telerik.Windows.Controls.ImageEditor.dll) Version: 2017.2.614.40 (2017.2.614.40)
public abstract class DrawToolBase : ToolBase

The DrawToolBase type exposes the following members.

Public methodDrawToolBase
Initializes a new instance of the DrawToolBase class.
Public methodAttachUI
Attaches the UI. The method is invoked on tool's execution.
(Overrides ToolBaseAttachUI(ToolInitInfo).)
Public methodDetachUI
Detaches the UI. The method is invoked when the tool execution is canceled.
(Overrides ToolBaseDetachUI.)
Protected methodDraw
Draws a geometry.
Protected methodEndDraw
Ends the drawing of a geometry.
Public methodGetCommand
Gets the tool's associated command.
(Overrides ToolBaseGetCommand.)
Public methodGetContext
Gets the tool's command context.
(Overrides ToolBaseGetContext.)
Public methodGetSettingsUI
Gets the tool' settings UI.
(Inherited from ToolBase.)
Public methodResetSettings
Resets the tool' settings if the tool's IsResetSettingsSupported property is true.
(Overrides ToolBaseResetSettings.)
Protected methodSetPathProperties
Sets properties to the path which contains the geometry which shall be drawn.
Protected methodStartDraw
Starts the drawing of a geometry.
Public propertyAffectsLayout
Gets whether the tool is changing the image size.
(Overrides ToolBaseAffectsLayout.)
Public propertyIsDirty
Gets whether the tool has made any changes on the image.
(Inherited from ToolBase.)
Public propertyIsPreviewOverlay
Gets whether the tool has a preview overlay on the main image.
(Overrides ToolBaseIsPreviewOverlay.)
Public propertyIsResetSettingsSupported
Specifies whether the settings of a tool can be reset. The common implementation of a tool returns true.
(Overrides ToolBaseIsResetSettingsSupported.)
See Also