SelectionMouseTool Constructor (SelectionMouseToolType, MouseToolBehavior, Pen, Color, Brush, Boolean, Boolean) |
Creates a new instance of SelectionMouseTool specifying the selection type, behavior and
pen.
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,
Pen pen,
Color lineBackgroundColor,
Brush fill,
bool maintainPenThickness,
bool confineSelectionToImage
)
Public Sub New (
selectionType As SelectionMouseToolType,
toolBehavior As MouseToolBehavior,
pen As Pen,
lineBackgroundColor As Color,
fill As Brush,
maintainPenThickness As Boolean,
confineSelectionToImage As Boolean
)
Parameters
- 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