Examples of fill()


Examples of processing.core.PGraphics.fill()

    // draw the horizon
    double radius = (content.getHeight() / 2);
    pg.pushMatrix();
    pg.translate(0, (float )radius);
    // draw the ground (background)
    pg.fill(COLOR_GROUND);
    pg.rect(0, (float )-radius, content.getWidth(), content.getHeight());
    // draw the sky (pitch input)
    pg.fill(COLOR_SKY);
    if (Math.cos(pitchAngle) > 0) {
      pg.rect(0, (float )(Math.sin(pitchAngle) * radius), content.getWidth(), -content.getHeight());
View Full Code Here

Examples of processing.core.PShape.fill()

      // Create shape
      PShape shape = createShape();
      shape.beginShape();
      shape.stroke(30);
      //shape.fill(255, 0, 0, 4);
      shape.fill(color(255, 0, 0), 100);
      updateShapeVertices(shape, shapeFeature, false);
      shape.endShape();

      // Add shape AND add to name list to retrieve later
      shapeGroup.addChild(shape);
View Full Code Here

Examples of pt.opensoft.pdf.PDFFiller.fill()

                SAXParseException parseException = (SAXParseException) iterator.next();
                System.out.println("[" + parseException.getLineNumber() + "]: " + parseException.getLocalizedMessage());
            }
        } else {
            PDFFiller filler = new PDFFiller(builder.getDocument());
            filler.fill(originalPdf, new FileOutputStream(finalPdf), new HashMap());   // mapa de valores vai vazio em testes
        }
    }

    public static void main(String[] args) throws IOException, JDOMException, DocumentException {
View Full Code Here

Examples of tconstruct.smeltery.logic.LavaTankLogic.fill()

        {
            FluidStack liquid = FluidContainerRegistry.getFluidForFilledItem(current);
            LavaTankLogic logic = (LavaTankLogic) world.getTileEntity(i, j, k);
            if (liquid != null)
            {
                int amount = logic.fill(ForgeDirection.UNKNOWN, liquid, false);
                if (amount == liquid.amount)
                {
                    logic.fill(ForgeDirection.UNKNOWN, liquid, true);
                    if (!entityplayer.capabilities.isCreativeMode)
                        entityplayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem, consumeItem(current));
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.