Click or drag to resize

SelectionMouseTool Constructor (SelectionMouseToolType, MouseToolBehavior, Color, Color, Brush, Boolean, Boolean)

Creates a new instance of SelectionMouseTool specifying the selection type, behavior and colors.

Namespace:  Atalasoft.Imaging.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public SelectionMouseTool(
	SelectionMouseToolType selectionType,
	MouseToolBehavior toolBehavior,
	Color lineColor,
	Color lineBackgroundColor,
	Brush fill,
	bool maintainPenThickness,
	bool confineSelectionToImage
)

Parameters

selectionType
Type: Atalasoft.Imaging.WpfSelectionMouseToolType
The type of selection for the tool.
toolBehavior
Type: Atalasoft.Imaging.WpfMouseToolBehavior
The behavior for the tool.
lineColor
Type: System.Windows.MediaColor
The pen color for the line.
lineBackgroundColor
Type: System.Windows.MediaColor
The background pen color for the line.
fill
Type: System.Windows.MediaBrush
The brush used to fill the selection.
maintainPenThickness
Type: SystemBoolean
Indicates whether the pen thickness will render the same size or scale with the zoom level.
confineSelectionToImage
Type: SystemBoolean
Indicates whether the selection should be confined to the image area.
See Also