C# Класс HelixToolkit.Wpf.ZoomRectangleHandler

Handles rectangle zooming.
Наследование: MouseGestureHandler
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

CanExecute() защищенный Метод

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
Результат bool

Completed() публичный Метод

Occurs when the manipulation is completed.
public Completed ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void
e HelixToolkit.Wpf.ManipulationEventArgs The instance containing the event data.
Результат void

Delta() публичный Метод

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.
Результат void

GetCursor() защищенный Метод

Gets the cursor for the gesture.
protected GetCursor ( ) : System.Windows.Input.Cursor
Результат System.Windows.Input.Cursor

Started() публичный Метод

Occurs when the manipulation is started.
public Started ( HelixToolkit.Wpf.ManipulationEventArgs e ) : void
e HelixToolkit.Wpf.ManipulationEventArgs The instance containing the event data.
Результат void

ZoomRectangle() публичный Метод

Zooms to the specified rectangle.
public ZoomRectangle ( Rect rectangle ) : void
rectangle System.Windows.Rect /// The zoom rectangle. ///
Результат void

ZoomRectangleHandler() публичный Метод

Initializes a new instance of the ZoomRectangleHandler class.
public ZoomRectangleHandler ( CameraController controller ) : System
controller CameraController /// The controller. ///
Результат System