Thumb that rotates the Area2D overlay.
More...
Inherits DisplayCanvasThumbObject.
|
static readonly DependencyProperty | HookPointProperty |
| Backing store.
|
|
static readonly DependencyProperty | PlacementLimitsProperty |
| Dependency property object for PlacementLimits
|
|
static readonly DependencyProperty | CoordinatesProperty |
| Dependency property object for Coordinates
|
|
|
override void | OnDragDelta (System.Windows.Controls.Primitives.DragDeltaEventArgs e) |
| Point is being dragged.
|
|
virtual Point | GetDragDelta (System.Windows.Controls.Primitives.DragDeltaEventArgs e) |
| Thumb is being dragged.
|
|
virtual void | ApplyCoordinateRestrictions (ref double x, ref double y) |
| Make sure the point does not leave the image, if this is desired.
|
|
override void | OnMouseLeftButtonUp (System.Windows.Input.MouseButtonEventArgs e) |
| Make sure the left button up event bubbles - otherwise the user of an overlay hardly has a way of finding out when dragging stopped.
|
|
virtual void | OnDragStarted (DragStartedEventArgs e) |
| Drag started handler.
|
|
virtual void | OnDragDelta (DragDeltaEventArgs e) |
| Drag delta handler.
|
|
virtual void | ApplyCoordinateRestrictions (ref double left, ref double top, ref double right, ref double bottom, bool ignoreSize) |
| Make sure the control stays within the limits of the image it is "living" on.
|
|
|
HookPoint | HookPoint [get, set] |
| The point to which the thumb is attached.
|
|
PlacementMode | PlacementLimits [get, set] |
| X position of the feature window origin.
|
|
CoordinateMode | Coordinates [get, set] |
| X position of the feature window origin.
|
|
DisplayCanvas | Canvas [get] |
| The display canvas we are displayed on (if there is none, this will simply be null...
|
|
OverlayBase | Overlay [get] |
| The control we are operating on.
|
|
Thumb that rotates the Area2D overlay.
◆ ApplyCoordinateRestrictions()
virtual void ApplyCoordinateRestrictions |
( |
ref double | x, |
|
|
ref double | y ) |
|
protectedvirtual |
Make sure the point does not leave the image, if this is desired.
- Parameters
-
x | Target x coordinate - may be modified by the function call if necessary. |
y | Target y coordinate - may be modified by the function call if necessary. |
◆ GetDragDelta()
virtual Point GetDragDelta |
( |
System.Windows.Controls.Primitives.DragDeltaEventArgs | e | ) |
|
|
protectedvirtual |
Thumb is being dragged.
- Parameters
-
- Returns
- The drag delta in image pixel coordinates.
◆ OnDragDelta()
override void OnDragDelta |
( |
System.Windows.Controls.Primitives.DragDeltaEventArgs | e | ) |
|
|
protected |
Point is being dragged.
- Parameters
-
◆ OnMouseLeftButtonUp()
override void OnMouseLeftButtonUp |
( |
System.Windows.Input.MouseButtonEventArgs | e | ) |
|
|
protected |
Make sure the left button up event bubbles - otherwise the user of an overlay hardly has a way of finding out when dragging stopped.
- Parameters
-