Examples of circle()


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

            cb.endText();
            cb.setPatternFill(p);
           
            // draw a circle. Similar to rectangle
            cb.setGrayStroke(0.0f);
            cb.circle(150f, 400f, 150f);
            cb.fillStroke();
           
            // New Page to draw text in the pattern painter's canvas
            document.newPage();
           
View Full Code Here

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

            cb.endText();
           
            // draw a circle
            cb.setPatternFill(p1);
            cb.setGrayStroke(0.0f);
            cb.circle(150f, 400f, 150f);
            cb.fillStroke();
            cb.sanityCheck();
           
            // New page to place image in the pattern painter's canvas
            document.newPage();
View Full Code Here

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

            cb.endText();
           
            // draw a circle
            cb.setPatternFill(p2);
            cb.setGrayStroke(0.0f);
            cb.circle(150f, 400f, 150f);
            cb.fillStroke();
           
            cb.sanityCheck();
        }
        catch(Exception e) {
View Full Code Here

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

            PdfGState gs = new PdfGState();
            gs.setFillOpacity(0.5f);
            cb.setGState(gs);
      cb.setColorFill(Color.red);
      cb.circle(260.0f, 500.0f, 250.0f);
      cb.fill();
      cb.circle(260.0f, 500.0f, 200.0f);
      cb.fill();
      cb.circle(260.0f, 500.0f, 150.0f);
      cb.fill();
View Full Code Here

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

            gs.setFillOpacity(0.5f);
            cb.setGState(gs);
      cb.setColorFill(Color.red);
      cb.circle(260.0f, 500.0f, 250.0f);
      cb.fill();
      cb.circle(260.0f, 500.0f, 200.0f);
      cb.fill();
      cb.circle(260.0f, 500.0f, 150.0f);
      cb.fill();
      gs.setFillOpacity(0.2f);
      cb.setGState(gs);
View Full Code Here

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

      cb.setColorFill(Color.red);
      cb.circle(260.0f, 500.0f, 250.0f);
      cb.fill();
      cb.circle(260.0f, 500.0f, 200.0f);
      cb.fill();
      cb.circle(260.0f, 500.0f, 150.0f);
      cb.fill();
      gs.setFillOpacity(0.2f);
      cb.setGState(gs);
      cb.setColorFill(Color.blue);
      cb.circle(260.0f, 500.0f, 100.0f);
View Full Code Here

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

      cb.circle(260.0f, 500.0f, 150.0f);
      cb.fill();
      gs.setFillOpacity(0.2f);
      cb.setGState(gs);
      cb.setColorFill(Color.blue);
      cb.circle(260.0f, 500.0f, 100.0f);
      cb.fill();
      cb.circle(260.0f, 500.0f, 50.0f);
      cb.fill();
     
      cb.sanityCheck();
View Full Code Here

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

      gs.setFillOpacity(0.2f);
      cb.setGState(gs);
      cb.setColorFill(Color.blue);
      cb.circle(260.0f, 500.0f, 100.0f);
      cb.fill();
      cb.circle(260.0f, 500.0f, 50.0f);
      cb.fill();
     
      cb.sanityCheck();
    } catch (DocumentException de) {
      System.err.println(de.getMessage());
View Full Code Here

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

            document.open();
           
            // step 4: we grab the ContentByte and do some stuff with it
            PdfContentByte cb = writer.getDirectContent();

            cb.circle(250.0f, 500.0f, 200.0f);
            cb.circle(250.0f, 500.0f, 150.0f);
            cb.stroke();
            cb.setRGBColorFill(0xFF, 0x00, 0x00);
            cb.circle(250.0f, 500.0f, 100.0f);
            cb.fillStroke();
View Full Code Here

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

           
            // step 4: we grab the ContentByte and do some stuff with it
            PdfContentByte cb = writer.getDirectContent();

            cb.circle(250.0f, 500.0f, 200.0f);
            cb.circle(250.0f, 500.0f, 150.0f);
            cb.stroke();
            cb.setRGBColorFill(0xFF, 0x00, 0x00);
            cb.circle(250.0f, 500.0f, 100.0f);
            cb.fillStroke();
            cb.setRGBColorFill(0xFF, 0xFF, 0xFF);
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.