Examples of zoom2D()


Examples of syn3d.nodes.SceneNode.zoom2D()

    if ((e.getModifiersEx() & MouseEvent.BUTTON2_DOWN_MASK) == MouseEvent.BUTTON2_DOWN_MASK) {
      scene.translate2D(e.getX(), e.getY());
    }
   
    if ((e.getModifiersEx() & MouseEvent.BUTTON3_DOWN_MASK) == MouseEvent.BUTTON3_DOWN_MASK) {
      scene.zoom2D(e.getX(), e.getY());
    }
  }

  public void mouseWheelMoved(MouseWheelEvent e) {
    if (!handleMouseWheelMoved) return;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.