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

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


      if (points.size() > 0) {
        if (points.size() - 1 > 0
            && e.getButton() == MouseEvent.BUTTON3) {
          points.remove(points.size() - 1);
        }
        Shape shape = new Polygon(points, color, chat.getMyJID(),
            isFilled);
        chat.draw(shape);
        board.setCurrentShape(null);
        points.clear();
      }
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

TOP

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

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.