C# Class HelixToolkit.Wpf.ZoomRectangleHandler

Handles rectangle zooming.
Inheritance: MouseGestureHandler
ファイルを表示 Open project: litdev1/LitDev Class Usage Examples

Public Methods

Method Description
Completed ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void

Occurs when the manipulation is completed.

Delta ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void

Occurs when the position is changed during a manipulation.

Started ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void

Occurs when the manipulation is started.

ZoomRectangle ( Rect rectangle ) : void

Zooms to the specified rectangle.

ZoomRectangleHandler ( CameraController controller ) : System

Initializes a new instance of the ZoomRectangleHandler class.

Protected Methods

Method Description
CanExecute ( ) : bool

Occurs when the command associated with this handler initiates a check to determine whether the command can be executed on the command target.

GetCursor ( ) : System.Windows.Input.Cursor

Gets the cursor for the gesture.

Method Details

CanExecute() protected method

Occurs when the command associated with this handler initiates a check to determine whether the command can be executed on the command target.
protected CanExecute ( ) : bool
return bool

Completed() public method

Occurs when the manipulation is completed.
public Completed ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void
e HelixToolkit.Wpf.ManipulationEventArgs The instance containing the event data.
return void

Delta() public method

Occurs when the position is changed during a manipulation.
public Delta ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void
e HelixToolkit.Wpf.ManipulationEventArgs The instance containing the event data.
return void

GetCursor() protected method

Gets the cursor for the gesture.
protected GetCursor ( ) : System.Windows.Input.Cursor
return System.Windows.Input.Cursor

Started() public method

Occurs when the manipulation is started.
public Started ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void
e HelixToolkit.Wpf.ManipulationEventArgs The instance containing the event data.
return void

ZoomRectangle() public method

Zooms to the specified rectangle.
public ZoomRectangle ( Rect rectangle ) : void
rectangle System.Windows.Rect /// The zoom rectangle. ///
return void

ZoomRectangleHandler() public method

Initializes a new instance of the ZoomRectangleHandler class.
public ZoomRectangleHandler ( CameraController controller ) : System
controller CameraController /// The controller. ///
return System