Package tikzmodel

Examples of tikzmodel.TikzFigure.moveTo()


  @Override
  public void mouseDragged(MouseEvent e) {
    if(activeFigure != null) {
      TikzFigure fig = activeFigure.getTikzFigure();
      Point2D p = convertToTeX(e);
      fig.moveTo(p.getX(), p.getY());
      activeFigure.updateShape();
      gui.repaint();
    }
  }
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.