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: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax protected virtual Cursor GetGripCursor(
WpfAnnotationGrip grip
)
Protected Overridable Function GetGripCursor (
grip As WpfAnnotationGrip
) As Cursor
Parameters
- grip
- Type: Atalasoft.Annotate.WpfWpfAnnotationGrip
The grip to get the cursor for.
Return Value
Type:
CursorThe cursor for the grip.
Remarks 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