C# 클래스 HelixToolkit.Wpf.ZoomRectangleHandler

Handles rectangle zooming.
상속: MouseGestureHandler
파일 보기 프로젝트 열기: litdev1/LitDev 1 사용 예제들

공개 메소드들

메소드 설명
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