C# Class HelixToolkit.Wpf.ZoomRectangleHandler

Handles rectangle zooming.
Inheritance: MouseGestureHandler
Afficher le fichier Open project: litdev1/LitDev Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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
Résultat bool

Completed() public méthode

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

Delta() public méthode

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.
Résultat void

GetCursor() protected méthode

Gets the cursor for the gesture.
protected GetCursor ( ) : System.Windows.Input.Cursor
Résultat System.Windows.Input.Cursor

Started() public méthode

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

ZoomRectangle() public méthode

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

ZoomRectangleHandler() public méthode

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