Package nu.fw.jeti.plugins.drawing.shapes

Examples of nu.fw.jeti.plugins.drawing.shapes.Rectangle


      end = point;
      if (board.getCurrentShape() != null) {
        (board.getCurrentShape()).setCoordinates(
            PointsOperations.pointsToString(start, end));
      } else {
        board.setCurrentShape(new Rectangle(
            start, end, color, chat.getMyJID(), isFilled));
      }
      board.repaint()
   
  }
View Full Code Here


   * The rectangle is drawn, memorized in the history and sent to the other
   * users.
   */
  public void mouseReleased(Double point, int scaleX, int scaleY) {
    end = point;
    Shape shape = new Rectangle(start, end, color, chat.getMyJID(), isFilled);
    chat.draw(shape);
    board.setCurrentShape(null);
  }
View Full Code Here

    end = point;
    if (board.getCurrentShape() != null) {
      (board.getCurrentShape()).setCoordinates(
          PointsOperations.pointsToString(start, end));
    } else {
      board.setCurrentShape(new Rectangle(
          start, end, color, chat.getMyJID(), isFilled));
    }
    board.repaint();   
  }
View Full Code Here

TOP

Related Classes of nu.fw.jeti.plugins.drawing.shapes.Rectangle

Copyright © 2018 www.massapicom. 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.