public class GlimpsePinchGestureEvent extends GlimpseGestureEvent
Constructor and Description |
---|
GlimpsePinchGestureEvent(String source,
GlimpseTargetStack stack,
int centerX,
int centerY,
float scale,
float angle) |
Modifier and Type | Method and Description |
---|---|
float |
getAngle()
The angle of the pinch in MATH RADIANS.
|
Axis1D |
getAxis1D() |
Axis2D |
getAxis2D() |
float |
getScale()
The ratio of the current pinch distance to the start pinch distance.
|
String |
toString() |
GlimpsePinchGestureEvent |
withNewTarget(GlimpseTargetStack targetStack,
int x,
int y) |
getSource, getTargetStack, getX, getY, isHandled, setHandled
public GlimpsePinchGestureEvent(String source, GlimpseTargetStack stack, int centerX, int centerY, float scale, float angle)
public float getScale()
public float getAngle()
public Axis1D getAxis1D()
public Axis2D getAxis2D()
public GlimpsePinchGestureEvent withNewTarget(GlimpseTargetStack targetStack, int x, int y)
withNewTarget
in class GlimpseGestureEvent
Copyright © 2016 Metron, Inc.. All rights reserved.