Click or drag to resize

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

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

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

Parameters

bounds
Type: System.WindowsRect
The selection bounds in image coordinates.
selectionType
Type: Atalasoft.Imaging.WpfSelectionMouseToolType
The type of selection for the tool.
toolBehavior
Type: Atalasoft.Imaging.WpfMouseToolBehavior
The behavior for the tool.
pen
Type: System.Windows.MediaPen
The pen used to draw 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