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

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


    } 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);
    }

    return super.transform(object);
View Full Code Here


    int thickness = action.getInt("thickness");
    int startX = action.getInt("x");
    int startY = action.getInt("y");
    int x2 = action.getInt("x2");
    int y2 = action.getInt("y2");
    StraightLine curve = new StraightLine(color, thickness, startX, startY, x2, y2);
    zone.add(curve);
  }
View Full Code Here

TOP

Related Classes of net.sf.arianne.marboard.server.entity.shape.StraightLine

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.