Click or drag to resize

WpfAnnotationGripsGetGripCursor Method

Returns the cursor for the specified grip with respect to the current rotation.

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: (.NET 4.5.2, x86)
protected virtual Cursor GetGripCursor(
	WpfAnnotationGrip grip


Type: Atalasoft.Annotate.WpfWpfAnnotationGrip
The grip to get the cursor for.

Return Value

Type: Cursor
The cursor for the grip.
When the annotation is rotated, this method will find the best cursor for the specified grip. For instance, if the top-center grip is pass in and the annotation is rotated 90 degrees, this method will return WpfAnnotationCursors.EastWestCursor since that cursor more closely matches the grip movement.
See Also