Package net.sf.arianne.marboard.client.entity.shape

Examples of net.sf.arianne.marboard.client.entity.shape.Oval


    } else if (rpclass.equals("rectangle")) {
      return new Rectangle(rpobject);
    } else if (rpclass.equals("straight_line")) {
      return new StraightLine(rpobject);
    } else if (rpclass.equals("oval")) {
      return new Oval(rpobject);
    } else {
      logger.error("Unknown Entity class " + rpclass + ": " + rpobject);
      return new Entity(rpobject);
    }
  }
View Full Code Here


      rpobject.put("thickness", boardState.getThickness());
      rpobject.put("x", Math.min(startX, event.getX()));
      rpobject.put("y", Math.min(startY, event.getY()));
      rpobject.put("x2", Math.max(startX, event.getX()));
      rpobject.put("y2", Math.max(startY, event.getY()));
      Shape line = new Oval(rpobject);
      board.drawTemporaryShape(line);
    }
  }
View Full Code Here

TOP

Related Classes of net.sf.arianne.marboard.client.entity.shape.Oval

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.