public class NativeSVGZoomEvent extends NativeEvent
BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT
Modifier | Constructor and Description |
---|---|
protected |
NativeSVGZoomEvent()
Constructor
|
Modifier and Type | Method and Description |
---|---|
float |
getNewScale()
Returns the scale factor that will be in place after the zoom operation has been processed.
|
OMSVGPoint |
getNewTranslate()
Returns the translation values that will be in place after the zoom operation
has been processed.
|
float |
getPreviousScale()
Returns the scale factor from previous zoom operations that was in place before the zoom operation occurred.
|
OMSVGPoint |
getPreviousTranslate()
Returns the translation values from previous zoom operations that
were in place before the zoom operation occurred.
|
OMSVGRect |
getZoomRectScreen()
Returns the specified zoom rectangle in screen units.
|
getAltKey, getButton, getChangedTouches, getCharCode, getClientX, getClientY, getCtrlKey, getCurrentEventTarget, getDataTransfer, getEventTarget, getKeyCode, getMetaKey, getMouseWheelVelocityY, getRelatedEventTarget, getRotation, getScale, getScreenX, getScreenY, getShiftKey, getString, getTargetTouches, getTouches, getType, preventDefault, stopPropagation
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
protected NativeSVGZoomEvent()
public final OMSVGRect getZoomRectScreen()
public final float getPreviousScale()
public final OMSVGPoint getPreviousTranslate()
OMSVGPoint
object is read only.public final float getNewScale()
public final OMSVGPoint getNewTranslate()
OMSVGPoint
object is read only.