示例#1
0
 /** 放大 */
 public void zoomIn() {
   graph.setScale(graph.getScale() * 1.5);
 }
示例#2
0
 /** 缩小 */
 public void zoomOut() {
   graph.setScale(graph.getScale() / 1.5);
 }
示例#3
0
 /** 缩放为实际大小 */
 public void zoom() {
   graph.setScale(1.0);
 }