Package java.awt.geom

Examples of java.awt.geom.RectangularShape


  protected ViewDropRegion createNodeDropRegion(String regionId, List flavors)
  {
    // We are a region
    WorkspaceDrawingView view = getDrawing().getView();

    RectangularShape shape = presentationFigure.createRectangularShape();
    Rectangle r = presentationFigure.displayBox();
    r = view.applyScale(r, false);
    shape.setFrame(r);

    Color color = ModelerColors.DROP_REGION;
    if (flavors.contains(ModelerFlavors.COLOR))
      color = null;
View Full Code Here

TOP

Related Classes of java.awt.geom.RectangularShape

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.