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

Examples of net.sf.arianne.marboard.server.entity.shape.Rectangle


    if (rpclass.equals("user")) {
      return new User(object);
    } else if (rpclass.equals("dot")) {
      return new Dot(object);
    } else if (rpclass.equals("rectangle")) {
      return new Rectangle(object);
    } else if (rpclass.equals("straight_line")) {
      return new StraightLine(object);
    } else if (rpclass.equals("circle")) {
      return new Oval(object);
    }
View Full Code Here


    int thickness = action.getInt("thickness");
    int x = action.getInt("x");
    int y = action.getInt("y");
    int x2 = action.getInt("x2");
    int y2 = action.getInt("y2");
    Rectangle shape = new Rectangle(color, fillColor, thickness, x, y, x2, y2);
    zone.add(shape);
  }
View Full Code Here

TOP

Related Classes of net.sf.arianne.marboard.server.entity.shape.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.