com.jogamp.newt.event
Class PinchToZoomGesture.ZoomEvent
java.lang.Object
java.util.EventObject
com.jogamp.newt.event.NEWTEvent
com.jogamp.newt.event.InputEvent
com.jogamp.newt.event.GestureHandler.GestureEvent
com.jogamp.newt.event.PinchToZoomGesture.ZoomEvent
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- PinchToZoomGesture
public static class PinchToZoomGesture.ZoomEvent
- extends GestureHandler.GestureEvent
A GestureHandler.GestureEvent denominating zoom.
- See Also:
- Serialized Form
| Fields inherited from class com.jogamp.newt.event.InputEvent |
ALT_GRAPH_MASK, ALT_MASK, AUTOREPEAT_MASK, BUTTON1_MASK, BUTTON2_MASK, BUTTON3_MASK, BUTTON4_MASK, BUTTON5_MASK, BUTTON6_MASK, BUTTON7_MASK, BUTTON8_MASK, BUTTON9_MASK, BUTTONALL_MASK, BUTTONLAST_MASK, CONFINED_MASK, CTRL_MASK, INVISIBLE_MASK, META_MASK, SHIFT_MASK |
| Methods inherited from class com.jogamp.newt.event.InputEvent |
getButtonDownCount, getButtonMask, getButtonsDown, getModifiers, getModifiersString, isAltDown, isAltGraphDown, isAnyButtonDown, isAutoRepeat, isButtonDown, isConfined, isControlDown, isInvisible, isMetaDown, isShiftDown, toString, toString |
PinchToZoomGesture.ZoomEvent
public PinchToZoomGesture.ZoomEvent(Object source,
long when,
int modifiers,
GestureHandler handler,
MouseEvent pe,
float zoom)
getTrigger
public final MouseEvent getTrigger()
- Triggering
MouseEvent
getZoom
public final float getZoom()
- Zoom value lies within [0..2], with 1 as 1:1.
Copyright 2010 JogAmp Community.