public static class Zoom.ZoomEvent
extends com.google.gwt.core.client.JavaScriptObject
Use D3.zoomEvent()
from within a
Zoom.on(ZoomEventType, DatumFunction)
listener.
Modifier | Constructor and Description |
---|---|
protected |
Zoom.ZoomEvent() |
Modifier and Type | Method and Description |
---|---|
double |
scale()
The scale of the zoom
|
Array<Double> |
translate()
A two-element array representing the current translation vector.
|
double |
translateX()
Shortcut to translate().getNumber(0).
|
double |
translateY()
Shortcut to translate().getNumber(1).
|
public final double scale()
public final Array<Double> translate()
public final double translateX()
public final double translateY()
Copyright © 2015 gwt-d3. All rights reserved.