Examples of fill()


Examples of com.google.code.yanf4j.buffer.IoBuffer.fill()

        IoBuffer buf = IoBuffer.allocate(8).setAutoShrink(true);

        // Make sure the buffer doesn't shrink too much (less than the initial
        // capacity.)
        buf.sweep((byte) 1);
        buf.fill(7);
        buf.compact();
        assertEquals(8, buf.capacity());
        assertEquals(1, buf.position());
        assertEquals(8, buf.limit());
        buf.clear();
View Full Code Here

Examples of com.google.gwt.canvas.dom.client.Context2d.fill()

    context.lineTo(canvasWidth*2/3, canvasHeight*2/3);
    context.lineTo(0, canvasHeight*2/3);
    context.lineTo(0, canvasHeight/3);
    context.closePath();
    context.stroke();
    context.fill();
   
    return canvas.getCanvasElement();
  }
}
View Full Code Here

Examples of com.itextpdf.text.pdf.PdfAppearance.fill()

        if (! normal) {
            tpOn.circle(width / 2, height / 2, diameter * 0.23f);
        } else {
            tpOn.circle(width / 2, height / 2, diameter * 0.20f);
        }
        tpOn.fill();
       
        if (normal) {
            field.setAppearance(PdfAnnotation.APPEARANCE_NORMAL, OFF_STATE, tpOff);
            field.setAppearance(PdfAnnotation.APPEARANCE_NORMAL, onValue, tpOn);
        } else {
View Full Code Here

Examples of com.itextpdf.text.pdf.PdfContentByte.fill()

        case FILL:
            if (traces > 0) {
                if (points.getWindingRule() == PathIterator.WIND_EVEN_ODD)
                    cb.eoFill();
                else
                    cb.fill();
            }
            break;
        case STROKE:
            if (traces > 0)
                cb.stroke();
View Full Code Here

Examples of com.kokakiwi.mclauncher.api.ui.Page.fill()

        {
            main.getFrame().removeAll();
            main.getFrame().reset();
           
            final Page page = getCurrentPage();
            page.fill(main.getFrame().getMainPanel(), main.getApi());
           
            main.getFrame().validate();
        }
        else
        {
View Full Code Here

Examples of com.levigo.util.gwtawt.client.WebGraphics.fill()

        context.translate(dx, dy);
        context.rotate(rotation);
        Color c = new Color(getIndexColor());
        WebGraphics g = new WebGraphics(context);
        g.setColor(c);
        g.fill(ghostPath);
        //    if (ghostBitmap!= null)
//    {     
//      ghostBitmap.eraseColor(indexColor);
//      canvas.drawBitmap(ghostBitmap,drawingMatrix, null);
//    }
View Full Code Here

Examples of com.loomcom.symon.devices.Memory.fill()

            traceLog.reset();
            // If we're doing a cold reset, clear the memory.
            if (isColdReset) {
                Memory mem = machine.getRam();
                if (mem != null) {
                    mem.fill(0);
                }
            }
            // Update status.
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
View Full Code Here

Examples of com.lowagie.text.pdf.PdfAppearance.fill()

            PdfContentByte cb = writer.getDirectContent();
            cb.moveTo(0, 0);
            PdfAppearance normal = cb.createAppearance(100, 50);
            normal.setColorFill(Color.GRAY);
            normal.rectangle(5, 5, 90, 40);
            normal.fill();
            PdfAppearance rollover = cb.createAppearance(100, 50);
            rollover.setColorFill(Color.RED);
            rollover.rectangle(5, 5, 90, 40);
            rollover.fill();
            PdfAppearance down = cb.createAppearance(100, 50);
View Full Code Here

Examples of com.lowagie.text.pdf.PdfContentByte.fill()

        case FILL:
            if (traces > 0) {
                if (points.getWindingRule() == PathIterator.WIND_EVEN_ODD)
                    cb.eoFill();
                else
                    cb.fill();
            }
            break;
        case STROKE:
            if (traces > 0)
                cb.stroke();
View Full Code Here

Examples of com.lowagie.text.pdf.PdfPatternPainter.fill()

            // step 4: we add some content
            PdfContentByte cb = writer.getDirectContent();
            PdfTemplate tp = cb.createTemplate(400, 300);
            PdfPatternPainter pat = cb.createPattern(15, 15, null);
            pat.rectangle(5, 5, 5, 5);
            pat.fill();
            pat.sanityCheck();
           
            PdfSpotColor spc_cmyk = new PdfSpotColor("PANTONE 280 CV", new CMYKColor(0.9f, .2f, .3f, .1f));
            SpotColor spot = new SpotColor(spc_cmyk, 0.25f);
            tp.setPatternFill(pat, spot, .9f);
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.