C# Class UMD.HCIL.Piccolo.Event.PZoomEventHandler

ZoomEventhandler provides event handlers for basic zooming of the canvas view with the right (third) button.
Tthe initial mouse press defines the zoom anchor point, and then moving the mouse to the right zooms with a speed proportional to the amount the mouse is moved to the right of the anchor point. Similarly, if the mouse is moved to the left, the the view is zoomed out.
Inheritance: PDragSequenceEventHandler
Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Méthodes publiques

Méthode Description
PZoomEventHandler ( ) : System

Constructs a new PZoomEventHandler.

Méthodes protégées

Méthode Description
OnDragActivityFirstStep ( object sender, PInputEventArgs e ) : void

Overridden. See PDragSequenceEventHandler.OnDragActivityFirstStep.

OnDragActivityStep ( object sender, PInputEventArgs e ) : void

Overridden. See PDragSequenceEventHandler.OnDragActivityStep.

PZoomEventHandlerAcceptsEvent ( PInputEventArgs e ) : bool

The filter for a PZoomEventHandler. This method only accepts right mouse button events that have not yet been handled.

Method Details

OnDragActivityFirstStep() protected méthode

Overridden. See PDragSequenceEventHandler.OnDragActivityFirstStep.
protected OnDragActivityFirstStep ( object sender, PInputEventArgs e ) : void
sender object
e PInputEventArgs
Résultat void

OnDragActivityStep() protected méthode

Overridden. See PDragSequenceEventHandler.OnDragActivityStep.
protected OnDragActivityStep ( object sender, PInputEventArgs e ) : void
sender object
e PInputEventArgs
Résultat void

PZoomEventHandler() public méthode

Constructs a new PZoomEventHandler.
public PZoomEventHandler ( ) : System
Résultat System

PZoomEventHandlerAcceptsEvent() protected méthode

The filter for a PZoomEventHandler. This method only accepts right mouse button events that have not yet been handled.
protected PZoomEventHandlerAcceptsEvent ( PInputEventArgs e ) : bool
e PInputEventArgs A PInputEventArgs that contains the event data.
Résultat bool