A thumb that is tailored to the requirements of the Stemmer.Cvb.Wpf.DisplayCanvas object.
More...
Inherited by Area2DMoveThumb, MoveThumb, and ResizeThumb.
|
| DisplayCanvasThumbObject () |
| Ctor.
|
|
|
static readonly DependencyProperty | PlacementLimitsProperty |
| Dependency property object for PlacementLimits
|
|
static readonly DependencyProperty | CoordinatesProperty |
| Dependency property object for Coordinates
|
|
|
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.
|
|
|
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.
|
|
A thumb that is tailored to the requirements of the Stemmer.Cvb.Wpf.DisplayCanvas object.
◆ ApplyCoordinateRestrictions()
virtual void ApplyCoordinateRestrictions |
( |
ref double | left, |
|
|
ref double | top, |
|
|
ref double | right, |
|
|
ref double | bottom, |
|
|
bool | ignoreSize ) |
|
protectedvirtual |
Make sure the control stays within the limits of the image it is "living" on.
- Parameters
-
left | Coordinate of the left edge. May be modified by the function call if needed. |
top | Coordinate of the top edge. May be modified by the function call if needed. |
right | Coordinate of the right edge. May be modified by the function call if needed. |
bottom | Coordinate of the bottom edge. May be modified by the function call if needed. |
ignoreSize | When set to true , the width and height of the overlay will be ignored. |
◆ OnDragDelta()
virtual void OnDragDelta |
( |
DragDeltaEventArgs | e | ) |
|
|
protectedvirtual |
◆ OnDragStarted()
virtual void OnDragStarted |
( |
DragStartedEventArgs | e | ) |
|
|
protectedvirtual |
Drag started handler.
- Parameters
-
Reimplemented in ResizeThumb.