Click or drag to resize

MouseToolConfineToImage Method (Point)

Returns a modified Point that is confined to the image area.

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
protected Point ConfineToImage(
	Point imagePoint
)

Parameters

imagePoint
Type: System.WindowsPoint
The point to confine.

Return Value

Type: Point
The confined point.
Remarks
If no image is currently loaded, this method will return a new Point.
See Also