Examples of drawRectangle()


Examples of org.pdfclown.documents.contents.composition.PrimitiveComposer.drawRectangle()

      blockComposer.end();
     
      composer.beginLocalState();
      composer.setLineWidth(0.2f);
      composer.setLineDash(5,5,5);
      composer.drawRectangle(frame);
      composer.stroke();
      composer.end();

      y+=step;
    }
View Full Code Here

Examples of org.renjin.graphics.GraphicsDevice.drawRectangle()

      dd.getParameters()
      .setLineType( LineType.valueOf(lty, i % lty.length()) )
      .setLineWidth( lwd.getElementAsDouble( i % lwd.length() ));

      dd.drawRectangle(new Rectangle(
          xleft.getElementAsDouble(i % xleft.length()),
          xright.getElementAsDouble(i % xright.length()),
          ybottom.getElementAsDouble(i % ybottom.length()),
          ytop.getElementAsDouble(i % ytop.length())),
          fillColor, borderColor);
View Full Code Here

Examples of org.spout.vanilla.material.map.Map.drawRectangle()

      throw new CommandException("bx cannot be greater than tx");
    }
    if (by > ty) {
      throw new CommandException("by cannot be greater than ty");
    }
    for (ProtocolEvent e : m.drawRectangle(i, bx, by, tx, ty, col)) {
      player.getNetwork().callProtocolEvent(e);
    }
  }

  @CommandDescription (aliases = "mapflood", usage = "<col>", desc = "Floods the current map with the given color")
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.